]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: usb: Parse UAC2 extension unit like for UAC1
authorTorstein Hegge <hegge@resisty.net>
Tue, 19 Mar 2013 16:12:14 +0000 (17:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Mar 2013 07:42:12 +0000 (08:42 +0100)
commit61ac51301e6c6d4ed977d7674ce2b8e713619a9b
tree8279d9468a4cb442bde1a8f2b19a67448cddca52
parent039eb75350acd1131a18a9bd12a0d4e1fb17892e
ALSA: usb: Parse UAC2 extension unit like for UAC1

UAC2_EXTENSION_UNIT_V2 differs from UAC1_EXTENSION_UNIT, but can be handled in
the same way when parsing the unit. Otherwise parse_audio_unit() fails when it
sees an extension unit on a UAC2 device.

UAC2_EXTENSION_UNIT_V2 is outside the range allocated by UAC1.

Signed-off-by: Torstein Hegge <hegge@resisty.net>
Acked-by: Daniel Mack <zonque@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c