diff options
author | Andrej Krutak <dev@andree.sk> | 2016-09-18 20:59:27 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-19 23:01:19 +0200 |
commit | 7811a3ad18ac1477976224cc2e8607654870edfc (patch) | |
tree | f9aa9e064876ffd99fc2be863da2c22dc0eaeb07 /sound/usb/line6/midi.c | |
parent | 174e1fc0bff5e0bbdf5eb0cbf1b8c0d64a0f38d2 (diff) | |
download | linux-7811a3ad18ac1477976224cc2e8607654870edfc.tar.bz2 |
ALSA: line6: Allow processing of raw incoming messages
Not all PODs use MIDI via USB data interface, thus allow avoiding
that code and instead using direct processing.
Signed-off-by: Andrej Krutak <dev@andree.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/midi.c')
-rw-r--r-- | sound/usb/line6/midi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/midi.c b/sound/usb/line6/midi.c index cebea9b7f769..d0fb2f205bd9 100644 --- a/sound/usb/line6/midi.c +++ b/sound/usb/line6/midi.c @@ -258,7 +258,7 @@ int line6_init_midi(struct usb_line6 *line6) struct snd_rawmidi *rmidi; struct snd_line6_midi *line6midi; - if (!(line6->properties->capabilities & LINE6_CAP_CONTROL)) { + if (!(line6->properties->capabilities & LINE6_CAP_CONTROL_MIDI)) { /* skip MIDI initialization and report success */ return 0; } |