summaryrefslogtreecommitdiff
path: root/sound/usb/midi.c
diff options
context:
space:
mode:
authorOliver Neukum <ONeukum@suse.com>2016-05-04 15:18:40 +0300
committerTakashi Iwai <tiwai@suse.de>2016-05-08 12:42:30 +0300
commit89e448b33a101dfc7218f3181bc3095af850db7a (patch)
tree225d29dd364473e7ad4e5581806faad9352e7abc /sound/usb/midi.c
parent748a1ccc433f1c4edb214fff4b340af9c1da3f88 (diff)
downloadlinux-89e448b33a101dfc7218f3181bc3095af850db7a.tar.xz
ALSA: usb-midi: correct speed checking
Allow for SS+ USB devices Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/midi.c')
-rw-r--r--sound/usb/midi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/midi.c b/sound/usb/midi.c
index 47de8af42f16..7ba92921bf28 100644
--- a/sound/usb/midi.c
+++ b/sound/usb/midi.c
@@ -911,6 +911,7 @@ static void snd_usbmidi_us122l_output(struct snd_usb_midi_out_endpoint *ep,
switch (snd_usb_get_speed(ep->umidi->dev)) {
case USB_SPEED_HIGH:
case USB_SPEED_SUPER:
+ case USB_SPEED_SUPER_PLUS:
count = 1;
break;
default: