ALSA: usbaudio: implement USB autosuspend
[pandora-kernel.git] / sound / usb / usbaudio.h
index db3eb21..32f2a97 100644 (file)
@@ -34,9 +34,14 @@ struct snd_usb_audio {
        int index;
        struct usb_device *dev;
        struct snd_card *card;
+       struct usb_interface *pm_intf;
        u32 usb_id;
-       int shutdown;
+       struct mutex shutdown_mutex;
+       unsigned int shutdown:1;
+       unsigned int probing:1;
+       unsigned int autosuspended:1;   
        unsigned int txfr_quirk:1; /* Subframe boundaries on transfers */
+       
        int num_interfaces;
        int num_suspended_intf;