]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a02269d33d652492436164775199a9be2782c47
tree83f0821da55eff4924b2947c29d8e2b87d302494
parent2f84118c07c2f0cd94a0305988f29d736a2aea56
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