ALSA: snd-usb: Accept UAC2 FORMAT_TYPE descriptors with bLength > 6
authorClemens Ladisch <clemens@ladisch.de>
Thu, 4 Aug 2011 14:17:42 +0000 (16:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Aug 2011 14:23:47 +0000 (16:23 +0200)
commit824818b148db42173446707df4cbd61cd7133272
treeb4e0127e8478bc3e3432a7568aac19e6fdc18e63
parent2921623f71c0a7f8ab979a8903cccd7a374436e7
ALSA: snd-usb: Accept UAC2 FORMAT_TYPE descriptors with bLength > 6

The Focusrite Scarlett 18i6 USB has them that way, which is probably a
bug. Anyway, the driver should simply ignore this fact.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Nicolai Krakowiak <nicolai.krakowiak@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c