From: Arnd Bergmann Date: Thu, 2 Jan 2014 12:07:47 +0000 (+0100) Subject: sound: oss: msnd_pinnacle: avoid interruptible_sleep_on_timeout X-Git-Tag: v3.14-rc1~143^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a21576562507b2b10b9aa53555857868fe51c94;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed