]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb - Don't trust the channel config if the channel count changed
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 5 Nov 2013 03:41:08 +0000 (04:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 06:46:48 +0000 (07:46 +0100)
commit13298692d1df4686ad79049d4b739f633cd59c8e
treeca3b1e699342489ad5f27a8e1430e6e74c8c0dbc
parent2c53deb2be5b640f36e1f14f2ffc8b6be0d87d85
ALSA: usb - Don't trust the channel config if the channel count changed

In case the channel count of the input terminal is not the same as
the channel count of the streaming descriptor, the channel config of
the input terminal can not be trusted. Instead fall back to a default
(guessed) channel map.

This was found on a Logitech USB Headset.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/stream.c