[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>
This commit is contained in:
Oliver Neukum
2007-12-14 14:42:41 +01:00
committed by Jaroslav Kysela
parent 175859bf16
commit f85bf29c94
2 changed files with 42 additions and 0 deletions

View File

@@ -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;