Commit 66291b6a authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: usb-audio: Fix superfluous autosuspend recovery

The change to restore the autosuspend from the disabled state uses a
wrong check: namely, it should have been the exact comparison of the
quirk_type instead of the bitwise and (&).  Otherwise it matches
wrongly with the other quirk types.

Although re-enabling the autosuspend for the already enabled device
shouldn't matter much, it's better to fix the unbalanced call.

Fixes: 97991108 ("ALSA: usb-audio: Disable USB autosuspend properly in setup_disable_autosuspend()")
Cc: <>

Signed-off-by: default avatarTakashi Iwai <>
parent 4511781f
......@@ -907,7 +907,7 @@ static void usb_audio_disconnect(struct usb_interface *intf)
if (chip->quirk_type == QUIRK_SETUP_DISABLE_AUTOSUSPEND)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment