Commit 54a2a389 authored by Joakim Tjernlund's avatar Joakim Tjernlund Committed by Takashi Iwai

ALSA: usb-audio: Add delay quirk for all Logitech USB devices

Found one more Logitech device, BCC950 ConferenceCam, which needs
the same delay here. This makes 3 out of 3 devices I have tried.

Therefore, add a delay for all Logitech devices as it does not hurt.
Signed-off-by: default avatarJoakim Tjernlund <joakim.tjernlund@infinera.com>
Cc: <stable@vger.kernel.org> # 4.19.y, 5.4.y
Link: https://lore.kernel.org/r/20201117122803.24310-1-joakim.tjernlund@infinera.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d78359b2
...@@ -1672,13 +1672,13 @@ void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe, ...@@ -1672,13 +1672,13 @@ void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe,
&& (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS) && (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
msleep(20); msleep(20);
/* Zoom R16/24, Logitech H650e/H570e, Jabra 550a, Kingston HyperX /* Zoom R16/24, many Logitech(at least H650e/H570e/BCC950),
* needs a tiny delay here, otherwise requests like get/set * Jabra 550a, Kingston HyperX needs a tiny delay here,
* frequency return as failed despite actually succeeding. * otherwise requests like get/set frequency return
* as failed despite actually succeeding.
*/ */
if ((chip->usb_id == USB_ID(0x1686, 0x00dd) || if ((chip->usb_id == USB_ID(0x1686, 0x00dd) ||
chip->usb_id == USB_ID(0x046d, 0x0a46) || USB_ID_VENDOR(chip->usb_id) == 0x046d || /* Logitech */
chip->usb_id == USB_ID(0x046d, 0x0a56) ||
chip->usb_id == USB_ID(0x0b0e, 0x0349) || chip->usb_id == USB_ID(0x0b0e, 0x0349) ||
chip->usb_id == USB_ID(0x0951, 0x16ad)) && chip->usb_id == USB_ID(0x0951, 0x16ad)) &&
(requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS) (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
......
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