Merge "sound: usb: Increase upper bound check for bInterval to 16"

This commit is contained in:
qctecmdr 2020-06-11 10:59:13 -07:00 • committed by Gerrit - the friendly Code Review server
commit 1b5b9c4b20

View file

@ -126,7 +126,7 @@ unsigned char snd_usb_parse_datainterval(struct snd_usb_audio *chip,
case USB_SPEED_SUPER:
case USB_SPEED_SUPER_PLUS:
if (get_endpoint(alts, 0)->bInterval >= 1 &&
get_endpoint(alts, 0)->bInterval <= 4)
get_endpoint(alts, 0)->bInterval <= 16)
return get_endpoint(alts, 0)->bInterval - 1;
break;
default: