OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Aug 2011 01:31:37 +0000 (18:31 -0700)
commiteb473dd5ad8785d35142966cdcd6896d8dff5a22
tree46518ce7e23c4a524dfbfce61963190874a1404c
parent3ddef47156a5b3a005c1536b8d64ea6edff133aa
ALSA: snd-usb: Accept UAC2 FORMAT_TYPE descriptors with bLength > 6

commit 824818b148db42173446707df4cbd61cd7133272 upstream.

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>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/usb/endpoint.c