sound: oss: remove last sleep_on users
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Jan 2014 12:07:51 +0000 (13:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Jan 2014 15:12:07 +0000 (16:12 +0100)
commitcdef2e5f358db5fd27eec4c72eb295c232287813
tree83f0821da55eff4924b2947c29d8e2b87d302494
parent1a1e0a80ceb766852e8abd5d4c3d9475611a7d85
sound: oss: remove last sleep_on users

There are three files in oss for which I could not find an easy way to
replace interruptible_sleep_on_timeout with a non-racy version. This
patch instead just adds a private implementation of the function, now
named oss_broken_sleep_on, and changes over the remaining users in
sound/oss/ so we can remove the global interface.

[fixed coding style warnings by tiwai]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/dmabuf.c
sound/oss/sequencer.c
sound/oss/sleep.h [new file with mode: 0644]
sound/oss/swarm_cs4297a.c