]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.9-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Sep 2020 13:33:16 +0000 (15:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Sep 2020 13:33:16 +0000 (15:33 +0200)
added patches:
alsa-usb-audio-add-delay-quirk-for-h570e-usb-headsets.patch

queue-4.9/alsa-usb-audio-add-delay-quirk-for-h570e-usb-headsets.patch [new file with mode: 0644]
queue-4.9/series

diff --git a/queue-4.9/alsa-usb-audio-add-delay-quirk-for-h570e-usb-headsets.patch b/queue-4.9/alsa-usb-audio-add-delay-quirk-for-h570e-usb-headsets.patch
new file mode 100644 (file)
index 0000000..02cdc0f
--- /dev/null
@@ -0,0 +1,40 @@
+From 315c7ad7a701baba28c628c4c5426b3d9617ceed Mon Sep 17 00:00:00 2001
+From: Joakim Tjernlund <joakim.tjernlund@infinera.com>
+Date: Thu, 10 Sep 2020 10:53:28 +0200
+Subject: ALSA: usb-audio: Add delay quirk for H570e USB headsets
+
+From: Joakim Tjernlund <joakim.tjernlund@infinera.com>
+
+commit 315c7ad7a701baba28c628c4c5426b3d9617ceed upstream.
+
+Needs the same delay as H650e
+
+Signed-off-by: Joakim 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: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ sound/usb/quirks.c |    7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+--- a/sound/usb/quirks.c
++++ b/sound/usb/quirks.c
+@@ -1320,12 +1320,13 @@ void snd_usb_ctl_msg_quirk(struct usb_de
+           && (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
+               mdelay(20);
+-      /* Zoom R16/24, Logitech H650e, Jabra 550a, Kingston HyperX needs a tiny
+-       * delay here, otherwise requests like get/set frequency return as
+-       * failed despite actually succeeding.
++      /* Zoom R16/24, Logitech H650e/H570e, Jabra 550a, Kingston HyperX
++       *  needs a tiny delay here, otherwise requests like get/set
++       *  frequency return as failed despite actually succeeding.
+        */
+       if ((chip->usb_id == USB_ID(0x1686, 0x00dd) ||
+            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(0x0951, 0x16ad)) &&
+           (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
index 8e492f0c21310c3e171b2766d6b7c81f2a817ddd..c6397b470d8905415f5a3e5ef0c111ce4f8ae304 100644 (file)
@@ -15,6 +15,7 @@ scsi-aacraid-fix-illegal-io-beyond-last-lba.patch
 m68k-q40-fix-info-leak-in-rtc_ioctl.patch
 gma-gma500-fix-a-memory-disclosure-bug-due-to-uninit.patch
 asoc-kirkwood-fix-irq-error-handling.patch
+alsa-usb-audio-add-delay-quirk-for-h570e-usb-headsets.patch
 pm-devfreq-tegra30-fix-integer-overflow-on-cpu-s-fre.patch
 clk-ti-adpll-allocate-room-for-terminating-null.patch
 mtd-cfi_cmdset_0002-don-t-free-cfi-cfiq-in-error-pat.patch