diff options
Diffstat (limited to 'sound/usb/usbquirks.h')
-rw-r--r-- | sound/usb/usbquirks.h | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h index 88bbd944d4be..00781fea2115 100644 --- a/sound/usb/usbquirks.h +++ b/sound/usb/usbquirks.h | |||
@@ -609,15 +609,33 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
609 | } | 609 | } |
610 | }, | 610 | }, |
611 | { | 611 | { |
612 | /* | ||
613 | * This quirk is for the "Advanced Driver" mode. If off, the GS-10 | ||
614 | * has ID 0x003c and is standard compliant, but has only 16-bit PCM | ||
615 | * and no MIDI. | ||
616 | */ | ||
612 | USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b), | 617 | USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b), |
613 | .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { | 618 | .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { |
614 | .vendor_name = "BOSS", | 619 | .vendor_name = "BOSS", |
615 | .product_name = "GS-10", | 620 | .product_name = "GS-10", |
616 | .ifnum = 3, | 621 | .ifnum = QUIRK_ANY_INTERFACE, |
617 | .type = QUIRK_MIDI_FIXED_ENDPOINT, | 622 | .type = QUIRK_COMPOSITE, |
618 | .data = & (const snd_usb_midi_endpoint_info_t) { | 623 | .data = & (const snd_usb_audio_quirk_t[]) { |
619 | .out_cables = 0x0003, | 624 | { |
620 | .in_cables = 0x0003 | 625 | .ifnum = 1, |
626 | .type = QUIRK_AUDIO_STANDARD_INTERFACE | ||
627 | }, | ||
628 | { | ||
629 | .ifnum = 2, | ||
630 | .type = QUIRK_AUDIO_STANDARD_INTERFACE | ||
631 | }, | ||
632 | { | ||
633 | .ifnum = 3, | ||
634 | .type = QUIRK_MIDI_STANDARD_INTERFACE | ||
635 | }, | ||
636 | { | ||
637 | .ifnum = -1 | ||
638 | } | ||
621 | } | 639 | } |
622 | } | 640 | } |
623 | }, | 641 | }, |