summaryrefslogtreecommitdiffstats
path: root/sound/oss/sb_card.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-01-02 13:07:47 +0100
committerTakashi Iwai <tiwai@suse.de>2014-01-14 16:01:20 +0100
commit1a21576562507b2b10b9aa53555857868fe51c94 (patch)
tree4b251c8c370ee4d31799ddc756388239712c2386 /sound/oss/sb_card.h
parentcf67c8e71bc15cf6b1843ab88c31cf732f2f2ff0 (diff)
downloadop-kernel-dev-1a21576562507b2b10b9aa53555857868fe51c94.zip
op-kernel-dev-1a21576562507b2b10b9aa53555857868fe51c94.tar.gz
sound: oss: msnd_pinnacle: avoid interruptible_sleep_on_timeout
We want to remove all sleep_on variants from the kernel because they are racy. In case of the pinnacle driver, we can replace interruptible_sleep_on_timeout with wait_event_interruptible_timeout by changing the meaning of a few flags used in the driver so they are cleared at wakeup time, which is a somewhat more appropriate way to do the same, although probably still racy. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss/sb_card.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud