ALSA: usb - For class 2 devices, use channel map from altsettings
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 5 Nov 2013 03:41:07 +0000 (04:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 06:46:38 +0000 (07:46 +0100)
commite3e35f750fff74e701c8913fd7dd714e37a848cd
tree9ff01befeba4df75fb7de66006df16d579fe7b08
parent0dca01c37a68017fe7112b46bc4b48c927db18c6
ALSA: usb - For class 2 devices, use channel map from altsettings

The channel config from the streaming descriptor is probably a
better indicator of the channel map than the input terminal.
Use the input terminal's channel map as fallback only.

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