Commit 788449ae authored by dengxiang's avatar dengxiang Committed by Takashi Iwai

ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.

This patch adds a USB quirk for Mythware XA001AU USB interface.
Signed-off-by: default avatardengxiang <dengxiang@nfschina.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20230803024437.370069-1-dengxiang@nfschina.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 3b9adfbb
...@@ -4507,6 +4507,35 @@ YAMAHA_DEVICE(0x7010, "UB99"), ...@@ -4507,6 +4507,35 @@ YAMAHA_DEVICE(0x7010, "UB99"),
} }
} }
}, },
{
/* 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 #undef USB_DEVICE_VENDOR_SPEC
#undef USB_AUDIO_DEVICE #undef USB_AUDIO_DEVICE
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment