kernel_optimize_test/sound/oss/dmasound
Arnd Bergmann 1a1e0a80ce sound: oss: dmasound: kill SLEEP() macro to avoid race
The use of interruptible_sleep_on_timeout in the dmasound driver
is questionable and we want to kill off all sleep_on variants.
This replaces the calls with wait_event_interruptible_timeout
where possible, to wait for a particular event instead of blocking
in a racy way. In the sq_write function, the easiest solution is
an open-coded prepare_to_wait loop.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-01-14 16:12:07 +01:00
..
dmasound_atari.c sound: Add missing spin_unlock 2010-05-27 09:47:02 +02:00
dmasound_core.c sound: oss: dmasound: kill SLEEP() macro to avoid race 2014-01-14 16:12:07 +01:00
dmasound_paula.c m68k: amiga - Sound platform device conversion 2010-05-17 21:37:44 +02:00
dmasound_q40.c m68k: dmasound - Kill warn_unused_result warnings 2009-01-12 20:56:42 +01:00
dmasound.h sound: oss: dmasound: kill SLEEP() macro to avoid race 2014-01-14 16:12:07 +01:00
Kconfig
Makefile