From 68db46e2b6be560183b669d1f2b0fa0a9eb7bebf Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 21 Aug 2023 13:15:53 +0200 Subject: [PATCH] 4.19-stable patches added patches: alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch --- ...01au-capture-and-playback-interfaces.patch | 57 +++++++++++++++++++ queue-4.19/series | 1 + 2 files changed, 58 insertions(+) create mode 100644 queue-4.19/alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch diff --git a/queue-4.19/alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch b/queue-4.19/alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch new file mode 100644 index 00000000000..ee617d92388 --- /dev/null +++ b/queue-4.19/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 +@@ -3677,5 +3677,34 @@ ALC1220_VB_DESKTOP(0x26ce, 0x0a01), /* A + } + } + }, ++{ ++ /* 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.19/series b/queue-4.19/series index cbc1291f46e..5bede626e81 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -73,3 +73,4 @@ net-do-not-allow-gso_size-to-be-set-to-gso_by_frags.patch asoc-rt5665-add-missed-regulator_bulk_disable.patch asoc-meson-axg-tdm-formatter-fix-channel-slot-alloca.patch serial-8250-fix-oops-for-port-pm-on-uart_change_pm.patch +alsa-usb-audio-add-support-for-mythware-xa001au-capture-and-playback-interfaces.patch -- 2.47.3