Skip to content

Commit a0c6d30

Browse files
cladischtiwai
authored andcommitted
ALSA: usb-audio: fix Roland/Cakewalk UM-3G support
Commit 927c942 (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: <[email protected]> # 3.3 and later Signed-off-by: Clemens Ladisch <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 3ee2102 commit a0c6d30

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sound/usb/quirks-table.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,11 @@ YAMAHA_DEVICE(0x7010, "UB99"),
17921792
USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
17931793
.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
17941794
.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+
}
17961800
}
17971801
},
17981802
{

0 commit comments

Comments
 (0)