diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-08-26 10:20:59 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-08-26 15:40:18 +0200 |
commit | a6da499b76b1a75412f047ac388e9ffd69a5c55b (patch) | |
tree | bf1909a8394eb76613170abe24c32407fe4af597 /sound/usb/usbaudio.h | |
parent | ALSA: usb-audio: Avoid nested autoresume calls (diff) | |
download | linux-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.h | 1 |
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; |