Skip to content

Commit fc7c5c2

Browse files
johnernbergtiwai
authored andcommitted
ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk
The microphone in the Plantronics C320-M headset will randomly fail to initialize properly, at least when using Microsoft Teams. Introducing a 20ms delay on the control messages appears to resolve the issue. Link: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1065 Tested-by: Andreas Kempe <kempe@lysator.liu.se> Signed-off-by: John Ernberg <john.ernberg@actia.se> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210303181405.39835-1-john.ernberg@actia.se Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 26af177 commit fc7c5c2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎sound/usb/quirks.c‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1670,6 +1670,14 @@ void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe,
16701670
&& (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
16711671
msleep(20);
16721672

1673+
/*
1674+
* Plantronics C320-M needs a delay to avoid random
1675+
* microhpone failures.
1676+
*/
1677+
if (chip->usb_id == USB_ID(0x047f, 0xc025) &&
1678+
(requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
1679+
msleep(20);
1680+
16731681
/* Zoom R16/24, many Logitech(at least H650e/H570e/BCC950),
16741682
* Jabra 550a, Kingston HyperX needs a tiny delay here,
16751683
* otherwise requests like get/set frequency return

0 commit comments

Comments
 (0)