Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b11dcb6c authored by Joakim Tjernlund's avatar Joakim Tjernlund Committed by Greg Kroah-Hartman
Browse files

ALSA: usb-audio: Add delay quirk for H570e USB headsets



commit 315c7ad7a701baba28c628c4c5426b3d9617ceed upstream.

Needs the same delay as H650e

Signed-off-by: default avatarJoakim Tjernlund <joakim.tjernlund@infinera.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200910085328.19188-1-joakim.tjernlund@infinera.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 93999cf0
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
@@ -1320,12 +1320,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)
		mdelay(20);
		mdelay(20);


	/* Zoom R16/24, Logitech H650e, Jabra 550a, Kingston HyperX needs a tiny
	/* Zoom R16/24, Logitech H650e/H570e, Jabra 550a, Kingston HyperX
	 * delay here, otherwise requests like get/set frequency return as
	 *  needs a tiny delay here, otherwise requests like get/set
	 * failed despite actually succeeding.
	 *  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) ||
	     chip->usb_id == USB_ID(0x046d, 0x0a46) ||
	     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)