]> err.no Git - linux-2.6/commitdiff
[ALSA] usb-audio - Add advanced mode support for Edirol UA-1EX
authorTakashi Iwai <tiwai@suse.de>
Fri, 10 Aug 2007 13:07:06 +0000 (15:07 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:39 +0000 (15:58 +0200)
Add the quirk to support Advanced mode of Edirol UA-1EX.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/usb/usbquirks.h

index bb5cf1c460c06f57d0faa18c9e187999c34e7882..ed7deebe896903fe09540027a3fe0f15a6a4d7b0 100644 (file)
@@ -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) {