Commit a32a1fc9 authored by Macpaul Lin's avatar Macpaul Lin Committed by Takashi Iwai

ALSA: usb-audio: add quirk for Samsung USBC Headset (AKG)

We've found Samsung USBC Headset (AKG) (VID: 0x04e8, PID: 0xa051)
need a tiny delay after each class compliant request.
Otherwise the device might not be able to be recognized each times.
Signed-off-by: default avatarChihhao Chen <chihhao.chen@mediatek.com>
Signed-off-by: default avatarMacpaul Lin <macpaul.lin@mediatek.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/1592910203-24035-1-git-send-email-macpaul.lin@mediatek.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 73094608
......@@ -1674,6 +1674,14 @@ void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe,
chip->usb_id == USB_ID(0x0951, 0x16ad)) &&
(requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
usleep_range(1000, 2000);
/*
* Samsung USBC Headset (AKG) need a tiny delay after each
* class compliant request. (Model number: AAM625R or AAM627R)
*/
if (chip->usb_id == USB_ID(0x04e8, 0xa051) &&
(requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
usleep_range(5000, 6000);
}
/*
......
Markdown is supported
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