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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user