diff options
author | Oliver Neukum <oneukum@suse.de> | 2007-12-14 08:42:41 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:36 -0500 |
commit | f85bf29c9435baf927e1817e6b43c9429b84f822 (patch) | |
tree | 9a32fda61aafa0d87a8040c2657fe57dd1c59dcc /sound/usb/usbaudio.h | |
parent | 175859bf1602c7ee38d720daa14a287072cc2b72 (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.h | 1 |
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 { | |||
126 | u32 usb_id; | 126 | u32 usb_id; |
127 | int shutdown; | 127 | int shutdown; |
128 | int num_interfaces; | 128 | int num_interfaces; |
129 | int num_suspended_intf; | ||
129 | 130 | ||
130 | struct list_head pcm_list; /* list of pcm streams */ | 131 | struct list_head pcm_list; /* list of pcm streams */ |
131 | int pcm_devs; | 132 | int pcm_devs; |