Skip to content

Commit

Permalink
alsa: Make alsa work queue high priority. Fixes underrun issues when …
Browse files Browse the repository at this point in the history
…using negitive nice priority
  • Loading branch information
popcornmix committed Mar 7, 2014
1 parent bd92c97 commit da28f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/arm/bcm2835-vchiq.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ int bcm2835_audio_write(bcm2835_alsa_stream_t *alsa_stream,

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;
}

Expand Down

0 comments on commit da28f2f

Please sign in to comment.