From: Greg Kroah-Hartman Date: Mon, 21 Aug 2023 11:15:38 +0000 (+0200) Subject: 4.14-stable patches X-Git-Tag: v6.4.12~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a44bec45bc695da9d794d7ef64693ab2889c0bca;p=thirdparty%2Fkernel%2Fstable-queue.git 4.14-stable patches added patches: alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch --- 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 index 00000000000..e122ce51e10 --- /dev/null +++ b/queue-4.14/alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch @@ -0,0 +1,57 @@ +From 788449ae57f4273111b779bbcaad552b67f517d5 Mon Sep 17 00:00:00 2001 +From: dengxiang +Date: Thu, 3 Aug 2023 10:44:37 +0800 +Subject: ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces. + +From: dengxiang + +commit 788449ae57f4273111b779bbcaad552b67f517d5 upstream. + +This patch adds a USB quirk for Mythware XA001AU USB interface. + +Signed-off-by: dengxiang +Cc: +Link: https://lore.kernel.org/r/20230803024437.370069-1-dengxiang@nfschina.com +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + 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 diff --git a/queue-4.14/series b/queue-4.14/series index 80fdf411d9c..e67850f7cd2 100644 --- a/queue-4.14/series +++ b/queue-4.14/series @@ -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