brcm2708: update against latest rpi-3.10.y branch
[openwrt.git] / target / linux / brcm2708 / patches-3.10 / 0174-alsa-Make-alsa-work-queue-high-priority.-Fixes-under.patch
1 From b4ac9f9ce1c102b2550608161f466b06af1ebf00 Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Fri, 21 Feb 2014 17:15:59 +0000
4 Subject: [PATCH 174/174] alsa: Make alsa work queue high priority. Fixes
5  underrun issues when using negitive nice priority
6
7 ---
8  sound/arm/bcm2835-vchiq.c | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/sound/arm/bcm2835-vchiq.c
12 +++ b/sound/arm/bcm2835-vchiq.c
13 @@ -178,7 +178,7 @@ int bcm2835_audio_write(bcm2835_alsa_str
14  
15  void my_workqueue_init(bcm2835_alsa_stream_t * alsa_stream)
16  {
17 -       alsa_stream->my_wq = create_workqueue("my_queue");
18 +       alsa_stream->my_wq = alloc_workqueue("my_queue", WQ_HIGHPRI, 1);
19         return;
20  }
21