ALSA: usbaudio: implement USB autosuspend
authorOliver Neukum <oneukum@suse.de>
Fri, 11 Mar 2011 13:51:12 +0000 (14:51 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Mar 2011 13:59:29 +0000 (14:59 +0100)
Devices are autosuspended if no pcm nor midi channel is open
Mixer devices may be opened. This way they are active when
in use to play or record sound, but can be suspended while
users have a mixer application running.

[Small clean-ups using static inline by tiwai]

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found