From 748a1ccc433f1c4edb214fff4b340af9c1da3f88 Mon Sep 17 00:00:00 2001 From: Oliver Neukum Date: Wed, 4 May 2016 14:18:39 +0200 Subject: ALSA: usb-audio: correct speed checking Allow handling SS+ USB devices correctly. Signed-off-by: Oliver Neukum Signed-off-by: Takashi Iwai --- sound/usb/helper.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/usb/helper.c') diff --git a/sound/usb/helper.c b/sound/usb/helper.c index 51ed1ac825fd..7712e2b84183 100644 --- a/sound/usb/helper.c +++ b/sound/usb/helper.c @@ -120,6 +120,7 @@ unsigned char snd_usb_parse_datainterval(struct snd_usb_audio *chip, case USB_SPEED_HIGH: case USB_SPEED_WIRELESS: case USB_SPEED_SUPER: + case USB_SPEED_SUPER_PLUS: if (get_endpoint(alts, 0)->bInterval >= 1 && get_endpoint(alts, 0)->bInterval <= 4) return get_endpoint(alts, 0)->bInterval - 1; -- cgit v1.2.3