]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Aug 2023 11:15:38 +0000 (13:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Aug 2023 11:15:38 +0000 (13:15 +0200)
added patches:
alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch

queue-4.14/alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch [new file with mode: 0644]
queue-4.14/series

diff --git a/queue-4.14/alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch b/queue-4.14/alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch
new file mode 100644 (file)
index 0000000..e122ce5
--- /dev/null
@@ -0,0 +1,57 @@
+From 788449ae57f4273111b779bbcaad552b67f517d5 Mon Sep 17 00:00:00 2001
+From: dengxiang <dengxiang@nfschina.com>
+Date: Thu, 3 Aug 2023 10:44:37 +0800
+Subject: ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
+
+From: dengxiang <dengxiang@nfschina.com>
+
+commit 788449ae57f4273111b779bbcaad552b67f517d5 upstream.
+
+This patch adds a USB quirk for Mythware XA001AU USB interface.
+
+Signed-off-by: dengxiang <dengxiang@nfschina.com>
+Cc: <stable@vger.kernel.org>
+Link: https://lore.kernel.org/r/20230803024437.370069-1-dengxiang@nfschina.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ sound/usb/quirks-table.h |   29 +++++++++++++++++++++++++++++
+ 1 file changed, 29 insertions(+)
+
+--- a/sound/usb/quirks-table.h
++++ b/sound/usb/quirks-table.h
+@@ -3540,5 +3540,34 @@ AU0828_DEVICE(0x2040, 0x7270, "Hauppauge
+               }
+       }
+ },
++{
++      /* Advanced modes of the Mythware XA001AU.
++       * For the standard mode, Mythware XA001AU has ID ffad:a001
++       */
++      USB_DEVICE_VENDOR_SPEC(0xffad, 0xa001),
++      .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
++              .vendor_name = "Mythware",
++              .product_name = "XA001AU",
++              .ifnum = QUIRK_ANY_INTERFACE,
++              .type = QUIRK_COMPOSITE,
++              .data = (const struct snd_usb_audio_quirk[]) {
++                      {
++                              .ifnum = 0,
++                              .type = QUIRK_IGNORE_INTERFACE,
++                      },
++                      {
++                              .ifnum = 1,
++                              .type = QUIRK_AUDIO_STANDARD_INTERFACE,
++                      },
++                      {
++                              .ifnum = 2,
++                              .type = QUIRK_AUDIO_STANDARD_INTERFACE,
++                      },
++                      {
++                              .ifnum = -1
++                      }
++              }
++      }
++},
+ #undef USB_DEVICE_VENDOR_SPEC
index 80fdf411d9c52bb2c5fdccaf966ecf91acd09b1f..e67850f7cd23fd58fe6a517f7555fadee26b60e6 100644 (file)
@@ -26,3 +26,4 @@ team-fix-incorrect-deletion-of-eth_p_8021ad-protocol.patch
 i40e-fix-misleading-debug-logs.patch
 sock-fix-misuse-of-sk_under_memory_pressure.patch
 net-do-not-allow-gso_size-to-be-set-to-gso_by_frags.patch
+alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch