]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: usb-audio: add BOSS GT-10 support
authorClemens Ladisch <clemens@ladisch.de>
Mon, 28 Jul 2008 08:19:39 +0000 (10:19 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 28 Jul 2008 08:19:39 +0000 (10:19 +0200)
Add a quirk entry for the BOSS GT-10.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/usb/usbquirks.h

index 9ea726c049c6c1f5d7b891e2e25bcd62ff934e40..3f68359d4942e9abe33d0ade00c53f30bd212d9c 100644 (file)
@@ -1383,7 +1383,6 @@ YAMAHA_DEVICE(0x7010, "UB99"),
                }
        }
 },
-
 {
        /* Roland SonicCell */
        USB_DEVICE(0x0582, 0x00c2),
@@ -1415,7 +1414,35 @@ YAMAHA_DEVICE(0x7010, "UB99"),
                }
        }
 },
-
+{
+       /* BOSS GT-10 */
+       USB_DEVICE(0x0582, 0x00da),
+       .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+               .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 = 2,
+                               .type = QUIRK_MIDI_FIXED_ENDPOINT,
+                               .data = & (const struct snd_usb_midi_endpoint_info) {
+                                       .out_cables = 0x0001,
+                                       .in_cables  = 0x0001
+                               }
+                       },
+                       {
+                               .ifnum = -1
+                       }
+               }
+       }
+},
 
 /* Guillemot devices */
 {