aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-08-26 04:20:59 -0400
committerTakashi Iwai <tiwai@suse.de>2015-08-26 09:40:18 -0400
commita6da499b76b1a75412f047ac388e9ffd69a5c55b (patch)
treebf1909a8394eb76613170abe24c32407fe4af597 /sound/usb/usbaudio.h
parent47ab154593827b1a8f0713a2b9dd445753d551d8 (diff)
ALSA: usb-audio: Replace probing flag with active refcount
We can use active refcount for preventing autopm during probe. 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, 0 insertions, 1 deletions
diff --git a/sound/usb/usbaudio.h b/sound/usb/usbaudio.h
index eb1ea7182cdd..33a176437e2e 100644
--- a/sound/usb/usbaudio.h
+++ b/sound/usb/usbaudio.h
@@ -37,7 +37,6 @@ struct snd_usb_audio {
37 struct usb_interface *pm_intf; 37 struct usb_interface *pm_intf;
38 u32 usb_id; 38 u32 usb_id;
39 struct mutex mutex; 39 struct mutex mutex;
40 unsigned int probing:1;
41 unsigned int autosuspended:1; 40 unsigned int autosuspended:1;
42 atomic_t active; 41 atomic_t active;
43 atomic_t shutdown; 42 atomic_t shutdown;