summaryrefslogtreecommitdiff
path: root/sound/usb/usbaudio.h
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-04-12 15:51:10 +0400
committerTakashi Iwai <tiwai@suse.de>2012-04-13 12:21:55 +0400
commit596580d0ee1d17af70920a7bb06c963418014dd1 (patch)
treef849b2f0a5b7ea698efcdc26878b73939ad7a835 /sound/usb/usbaudio.h
parentdd775ae2549217d3ae09363e3edb305d0fa19928 (diff)
downloadlinux-596580d0ee1d17af70920a7bb06c963418014dd1.tar.xz
ALSA: snd-usb: add snd_usb_audio-wide mutex
This is needed for new card-wide list operations. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
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 3e2b03577936..a16c21d2d7ed 100644
--- a/sound/usb/usbaudio.h
+++ b/sound/usb/usbaudio.h
@@ -36,6 +36,7 @@ struct snd_usb_audio {
struct snd_card *card;
struct usb_interface *pm_intf;
u32 usb_id;
+ struct mutex mutex;
struct mutex shutdown_mutex;
unsigned int shutdown:1;
unsigned int probing:1;