Skip to content

Commit a32a1fc

Browse files
macpaul-lin-mtktiwai
authored andcommitted
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: Chihhao Chen <[email protected]> Signed-off-by: Macpaul Lin <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 7309460 commit a32a1fc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sound/usb/quirks.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1674,6 +1674,14 @@ void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe,
16741674
chip->usb_id == USB_ID(0x0951, 0x16ad)) &&
16751675
(requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
16761676
usleep_range(1000, 2000);
1677+
1678+
/*
1679+
* Samsung USBC Headset (AKG) need a tiny delay after each
1680+
* class compliant request. (Model number: AAM625R or AAM627R)
1681+
*/
1682+
if (chip->usb_id == USB_ID(0x04e8, 0xa051) &&
1683+
(requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
1684+
usleep_range(5000, 6000);
16771685
}
16781686

16791687
/*

0 commit comments

Comments
 (0)