]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Allow any MIDI endpoint to drive use of interrupt transfer on newer...
authorKeith A. Milner <maillist@superlative.org>
Sun, 11 Oct 2015 14:19:48 +0000 (15:19 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 11 Oct 2015 16:18:59 +0000 (18:18 +0200)
commit1aec1bc8a606be5c49638446176545a0b3841317
tree6fe45d7e13583a37871f0884c3f6fe3587108cc4
parent8173bf27a7a69415f3cc68c458234dd5b654c01c
ALSA: usb-audio: Allow any MIDI endpoint to drive use of interrupt transfer on newer Roland devices

This patch enables interrupt transfer mode for MIDI ports on newer
Boss/Roland devices such as the GT-100/001 which support interrupt
transfer on both IN and OUT MIDI endpoints. Previously this wasn't being
enabled for these devices as the code was specifically looking for the
scenario where the IN endpoint supported interrupt transfer and the OUT
endpoint was bulk transfer. Newer devices support interrupt transfer for
both endpoints.

This has been tested on Boss devices GT-001, BR-80 and JS-8 and Roland
VS-20.

It would benefit from some regresison testing with other devices if
possible.

Signed-off-by: Keith A. Milner <maillist@superlative.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/midi.c