From: Takashi Iwai Date: Fri, 10 Aug 2007 13:07:06 +0000 (+0200) Subject: [ALSA] usb-audio - Add advanced mode support for Edirol UA-1EX X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b0d39be53b057e05e2f796a071ff1cead3a2506;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [ALSA] usb-audio - Add advanced mode support for Edirol UA-1EX Add the quirk to support Advanced mode of Edirol UA-1EX. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h index bb5cf1c460c0..ed7deebe8969 100644 --- a/sound/usb/usbquirks.h +++ b/sound/usb/usbquirks.h @@ -1254,7 +1254,28 @@ YAMAHA_DEVICE(0x7010, "UB99"), } }, /* TODO: add Edirol PC-80 support */ - /* TODO: add Edirol UA-1EX support */ +{ + USB_DEVICE(0x0582, 0x0096), + .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { + .vendor_name = "EDIROL", + .product_name = "UA-1EX", + .ifnum = QUIRK_ANY_INTERFACE, + .type = QUIRK_COMPOSITE, + .data = (const struct snd_usb_audio_quirk[]) { + { + .ifnum = 0, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + { + .ifnum = 1, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + { + .ifnum = -1 + } + } + } +}, { USB_DEVICE(0x0582, 0x009a), .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {