openwrt/target/linux/brcm2708/patches-3.10/0174-alsa-Make-alsa-work-queue-high-priority.-Fixes-under.patch
Florian Fainelli bb39b8d99a brcm2708: update against latest rpi-3.10.y branch
Update our copies of the brcm2708 patches to the latest rpi-3.10-y
rebased against linux-3.10.y stable (3.10.32). This should hopefully
make it easier for us in the future to leverage the raspberry/rpi-*
branches.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39770
2014-02-28 20:30:08 +00:00

22 lines
686 B
Diff

From b4ac9f9ce1c102b2550608161f466b06af1ebf00 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 21 Feb 2014 17:15:59 +0000
Subject: [PATCH 174/174] alsa: Make alsa work queue high priority. Fixes
underrun issues when using negitive nice priority
---
sound/arm/bcm2835-vchiq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/sound/arm/bcm2835-vchiq.c
+++ b/sound/arm/bcm2835-vchiq.c
@@ -178,7 +178,7 @@ int bcm2835_audio_write(bcm2835_alsa_str
void my_workqueue_init(bcm2835_alsa_stream_t * alsa_stream)
{
- alsa_stream->my_wq = create_workqueue("my_queue");
+ alsa_stream->my_wq = alloc_workqueue("my_queue", WQ_HIGHPRI, 1);
return;
}