]> git.baikalelectronics.ru Git - kernel.git/commit
sound/oss: use current->state helpers
authorDavidlohr Bueso <dave@stgolabs.net>
Thu, 15 Jan 2015 07:11:43 +0000 (23:11 -0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 15 Jan 2015 07:32:27 +0000 (08:32 +0100)
commitcb12374be792833e24bf2c8283897319b8b51260
treea439b1bd8a0d89c72ab2eff4cd1601cb85a7dc54
parent770a6b1af2570a7043a87c1e7c6f15130551ec58
sound/oss: use current->state helpers

Call __set_current_state() instead of assigning the new state directly.
These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping
track of who changed the state.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/msnd_pinnacle.c
sound/oss/swarm_cs4297a.c