mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "sound: usb: Increase upper bound check for bInterval to 16"
This commit is contained in:
commit
1b5b9c4b20
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue