]> 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)
commit19d09d267664ee49fb0410d97e8d6ef1d5a437e0
tree83f0821da55eff4924b2947c29d8e2b87d302494
parent70e7798bc93185d8fed7a04f3c9351ebfc36c72c
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