linux-uconsole/sound/usb
Clemens Ladisch a043100f28 ALSA: usb-audio: fix invalid length check for RME and other UAC 2 devices
commit d56268fb10 upstream.

Commit 23caaf19b1 (ALSA: usb-mixer: Add support for Audio Class v2.0)
forgot to adjust the length check for UAC 2.0 feature unit descriptors.
This would make the code abort on encountering a feature unit without
per-channel controls, and thus prevented the driver to work with any
device having such a unit, such as the RME Babyface or Fireface UCX.

Reported-by: Florian Hanisch <fhanisch@uni-potsdam.de>
Tested-by: Matthew Robbetts <wingfeathera@gmail.com>
Tested-by: Michael Beer <beerml@sigma6audio.de>
Cc: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-03 18:21:37 -06:00
..
6fire ALSA: 6fire - Fix signedness bug 2011-06-16 21:31:33 +02:00
caiaq ALSA: snd_usb_caiaq: track submitted output urbs 2011-08-29 13:29:09 -07:00
misc ALSA: ua101: fix crash when unplugging 2011-11-11 09:36:50 -08:00
usx2y ALSA: snd-usb-us122l: Delete calls to preempt_disable 2012-01-25 17:24:33 -08:00
card.c ALSA: usb-audio: Fix mutex deadlock at disconnection 2012-11-17 13:14:26 -08:00
card.h ALSA: usb-audio: Fix races at disconnection 2012-11-17 13:14:22 -08:00
clock.c ALSA: snd-usb: fix clock source validity index 2012-08-09 08:27:53 -07:00
clock.h ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
debug.h ALSA: usb-audio: make hwc_debug a noop in case HW_CONST_DEBUG is not set 2011-05-18 11:44:35 +02:00
endpoint.c ALSA: snd-usb: Accept UAC2 FORMAT_TYPE descriptors with bLength > 6 2011-08-15 18:31:37 -07:00
endpoint.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
format.c Merge branch 'topic/misc' into for-linus 2011-05-22 10:01:29 +02:00
format.h ALSA: usb-audio: parse more format descriptors with structs 2010-05-27 09:48:31 +02:00
helper.c ALSA: usb: USB3 SuperSpeed sound support 2010-08-14 10:30:08 +02:00
helper.h ALSA: usb-audio: fix control messages for USB_RECIP_INTERFACE 2010-06-11 18:05:38 +02:00
Kconfig ALSA: 6fire: use the kernel's built-in bit reverse table 2011-04-26 12:26:12 +02:00
Makefile ALSA: usb/6fire - Driver for TerraTec DMX 6Fire USB 2011-01-24 18:45:30 +01:00
midi.c ALSA: usb-audio: Fix missing autopm for MIDI input 2013-01-11 09:03:37 -08:00
midi.h ALSA: usb-audio: add support for Akai MPD16 2010-05-21 17:12:30 +02:00
mixer.c ALSA: usb-audio: fix invalid length check for RME and other UAC 2 devices 2013-02-03 18:21:37 -06:00
mixer.h ALSA: snd-usb: operate on given mixer interface only 2011-08-15 18:31:36 -07:00
mixer_maps.c ALSA: usb-audio: unify constants from specification 2010-05-31 18:17:22 +02:00
mixer_quirks.c ALSA: usb-audio: Fix races at disconnection in mixer_quirks.c 2012-11-17 13:14:22 -08:00
mixer_quirks.h ALSA: usb-mixer: factor out quirks 2010-03-12 12:20:26 +01:00
pcm.c ALSA: usb-audio: Use rwsem for disconnect protection 2012-11-17 13:14:22 -08:00
pcm.h ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
power.h ALSA: usbaudio: implement USB autosuspend 2011-03-11 14:59:29 +01:00
proc.c ALSA: usb-audio: Fix races at disconnection 2012-11-17 13:14:22 -08:00
proc.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
quirks-table.h ALSA: USB: Support for (original) Xbox Communicator 2012-10-13 05:28:11 +09:00
quirks.c ALSA: usb - turn off de-emphasis in s/pdif for cm6206 2011-06-03 18:22:56 +02:00
quirks.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
urb.c ALSA: usb-audio: Fix races at disconnection 2012-11-17 13:14:22 -08:00
urb.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
usbaudio.h ALSA: usb-audio: Use rwsem for disconnect protection 2012-11-17 13:14:22 -08:00