Skip to content

Commit

Permalink
ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk
Browse files Browse the repository at this point in the history
commit fc7c5c2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
johnernberg authored and gregkh committed Mar 17, 2021
1 parent d291b25 commit d77540a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sound/usb/quirks.c
Expand Up @@ -1672,6 +1672,14 @@ void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe,
&& (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
msleep(20);

/*
* Plantronics C320-M needs a delay to avoid random
* microhpone failures.
*/
if (chip->usb_id == USB_ID(0x047f, 0xc025) &&
(requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
msleep(20);

/* Zoom R16/24, many Logitech(at least H650e/H570e/BCC950),
* Jabra 550a, Kingston HyperX needs a tiny delay here,
* otherwise requests like get/set frequency return
Expand Down

0 comments on commit d77540a

Please sign in to comment.