Davidlohr Bueso fd4e8dde42 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>
2015-01-15 08:32:27 +01:00
..
2009-07-29 14:37:12 +02:00
2012-10-06 16:47:53 +02:00
2010-11-11 01:54:32 +01:00
2012-03-28 18:30:03 +01:00
2011-03-31 11:26:23 -03:00
2012-10-06 16:47:53 +02:00
2014-01-14 16:12:07 +01:00
2012-10-06 16:47:53 +02:00
2012-03-28 18:30:03 +01:00

The modular sound driver patches were funded by Red Hat Software 
(www.redhat.com). The sound driver here is thus a modified version of 
Hannu's code. Please bear that in mind when considering the appropriate
forums for bug reporting. 

Alan Cox