From: Arnd Bergmann Date: Thu, 2 Jan 2014 12:07:48 +0000 (+0100) Subject: sound: oss: midibuf: fix sleep_on races X-Git-Tag: v3.14-rc1~143^2~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76439c2ac686c547ca2f53bfe964c100e697ff4a;p=pandora-kernel.git sound: oss: midibuf: fix sleep_on races sleep_on is known to be racy and going away because of this. All instances of interruptible_sleep_on and interruptible_sleep_on_timeout in the midibuf driver can trivially be replaced with wait_event_interruptible and wait_event_interruptible_timeout. [fixed coding style warnings by tiwai] Signed-off-by: Arnd Bergmann Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed