]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: ADC3: Fix channel mapping conversion for ADC3.
authorMichael Drake <michael.drake@codethink.co.uk>
Tue, 24 Apr 2018 17:24:43 +0000 (18:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 24 Apr 2018 17:54:56 +0000 (19:54 +0200)
commit879782b12432ea2ebed99af320782461f23300b6
tree243de8b425b4916f0a0bf17c1c82ada6411288d6
parentcce477ec51b53373491db0bb5860dbc250dbcf62
ALSA: usb-audio: ADC3: Fix channel mapping conversion for ADC3.

The channel mapping is defined by bChRelationship, not bChPurpose.

Fixes: 878e02e504bf ("ALSA: usb: initial USB Audio Device Class 3.0 support")
Reviewed-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
Signed-off-by: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/stream.c