sound/wavefront_synth: insert
Subsystems (2)
PATCH 31/39 sound/wavefront_synth: insert
Hi,
Please consider applying.
Description: Insert set_current_state() before schedule_timeout(). Without the insertion, schedule_timeout() returns immediately, resulting in an effective busy-wait.
Signed-off-by Nishanth Aravamudan <[email protected]>
sound/isa/wavefront/wavefront_synth.c +1 -0
@@ -1751,6 +1751,7 @@ wavefront_should_cause_interrupt (snd_waoutb (val,port);spin_unlock_irq (&dev->irq_lock);while (1 ) { +set_current_state (TASK_INTERRUPTIBLE );if ((timeout =schedule_timeout (timeout)) ==0 )return ;if (dev->irq_ok)
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors