summaryrefslogtreecommitdiff
path: root/sound/usb/usbaudio.h
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2007-12-14 14:42:41 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:29:36 +0100
commitf85bf29c9435baf927e1817e6b43c9429b84f822 (patch)
tree9a32fda61aafa0d87a8040c2657fe57dd1c59dcc /sound/usb/usbaudio.h
parent175859bf1602c7ee38d720daa14a287072cc2b72 (diff)
[ALSA] usb audio suspend support
This patch implements suspend/resume support for USB audio devices. It works with the microphone in my camera. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/usb/usbaudio.h')
-rw-r--r--sound/usb/usbaudio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/usbaudio.h b/sound/usb/usbaudio.h
index 2272f45a1867..7cf18c38dc42 100644
--- a/sound/usb/usbaudio.h
+++ b/sound/usb/usbaudio.h
@@ -126,6 +126,7 @@ struct snd_usb_audio {
u32 usb_id;
int shutdown;
int num_interfaces;
+ int num_suspended_intf;
struct list_head pcm_list; /* list of pcm streams */
int pcm_devs;