Commit 6d5eba5aac4ec9bba3d6b3e6425d857706d12ccb

Authored by Thomas Pugliese
Committed by Takashi Iwai
1 parent df3774c5c5

ALSA: usb-audio: support wireless devices in snd_usb_parse_datainterval

This patch adds support for dev speed USB_SPEED_WIRELESS in
snd_usb_parse_datainterval which allows the usb sound core to create
ISO urbs with the correct number and size of buffers.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -118,6 +118,7 @@
118 118 {
119 119 switch (snd_usb_get_speed(chip->dev)) {
120 120 case USB_SPEED_HIGH:
  121 + case USB_SPEED_WIRELESS:
121 122 case USB_SPEED_SUPER:
122 123 if (get_endpoint(alts, 0)->bInterval >= 1 &&
123 124 get_endpoint(alts, 0)->bInterval <= 4)