ALSA: usb-audio: Use rwsem for disconnect protection
[pandora-kernel.git] / sound / usb / usbaudio.h
index 3e2b035..6c805a5 100644 (file)
@@ -36,7 +36,7 @@ struct snd_usb_audio {
        struct snd_card *card;
        struct usb_interface *pm_intf;
        u32 usb_id;
-       struct mutex shutdown_mutex;
+       struct rw_semaphore shutdown_rwsem;
        unsigned int shutdown:1;
        unsigned int probing:1;
        unsigned int autosuspended:1;