summaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-08-26 10:20:59 +0200
committerTakashi Iwai <tiwai@suse.de>2015-08-26 15:40:18 +0200
commita6da499b76b1a75412f047ac388e9ffd69a5c55b (patch)
treebf1909a8394eb76613170abe24c32407fe4af597 /sound/usb/usbaudio.h
parentALSA: usb-audio: Avoid nested autoresume calls (diff)
downloadlinux-a6da499b76b1a75412f047ac388e9ffd69a5c55b.tar.xz
linux-a6da499b76b1a75412f047ac388e9ffd69a5c55b.zip
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 {
struct usb_interface *pm_intf;
u32 usb_id;
struct mutex mutex;
- unsigned int probing:1;
unsigned int autosuspended:1;
atomic_t active;
atomic_t shutdown;