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)
commit504333df8ba5fc310260285a22ab5d7cf3208795
treeca3b1e699342489ad5f27a8e1430e6e74c8c0dbc
parente3e35f750fff74e701c8913fd7dd714e37a848cd
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