summaryrefslogtreecommitdiffstats
path: root/sound/usb/usbquirks.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-07-28 10:19:39 +0200
committerClemens Ladisch <clemens@ladisch.de>2008-07-28 10:19:39 +0200
commitb38addb2da26c0eeab5b538cfbd9d306c50a4726 (patch)
tree53ad75a70341daabad0d4bb579eb06e39c38e491 /sound/usb/usbquirks.h
parent1cd2224cd01898a13138f4ab476932cfb689839e (diff)
downloadlinux-b38addb2da26c0eeab5b538cfbd9d306c50a4726.tar.gz
linux-b38addb2da26c0eeab5b538cfbd9d306c50a4726.tar.bz2
linux-b38addb2da26c0eeab5b538cfbd9d306c50a4726.zip
ALSA: usb-audio: add BOSS GT-10 support
Add a quirk entry for the BOSS GT-10. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/usb/usbquirks.h')
-rw-r--r--sound/usb/usbquirks.h31
1 files changed, 29 insertions, 2 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h
index 9ea726c049c6..3f68359d4942 100644
--- a/sound/usb/usbquirks.h
+++ b/sound/usb/usbquirks.h
@@ -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 */
{