diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2013-06-02 13:49:07 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-06-03 03:42:21 -0400 |
commit | a0c6d309c6df14655f9962f666d1da96318b0b7c (patch) | |
tree | ccd5c5d2ab2eb09e81264e7c1e7aa2e7bdb05f1d /sound | |
parent | 3ee2102fbe92150af2b6d1d87f6bbefbaff0c7ca (diff) |
ALSA: usb-audio: fix Roland/Cakewalk UM-3G support
Commit 927c9423dd5f2d1c0b93d5e694ab84b4a5559713 (ALSA: usb-audio: add
Edirol UM-3G support) used a wrong quirk type, which would make the
driver refuse to attach with the error message "MIDIStreaming interface
descriptor not found".
Cc: <stable@vger.kernel.org> # 3.3 and later
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/usb/quirks-table.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 7f1722f82c89..6ae71b84b39d 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h | |||
@@ -1792,7 +1792,11 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
1792 | USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108), | 1792 | USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108), |
1793 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { | 1793 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
1794 | .ifnum = 0, | 1794 | .ifnum = 0, |
1795 | .type = QUIRK_MIDI_STANDARD_INTERFACE | 1795 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
1796 | .data = & (const struct snd_usb_midi_endpoint_info) { | ||
1797 | .out_cables = 0x0007, | ||
1798 | .in_cables = 0x0007 | ||
1799 | } | ||
1796 | } | 1800 | } |
1797 | }, | 1801 | }, |
1798 | { | 1802 | { |