ALSA: usb-audio: UAC3: Parse Input Terminal number of channels.
authorJorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Mon, 14 May 2018 11:03:42 +0000 (12:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 May 2018 05:36:06 +0000 (07:36 +0200)
commit710669455d9e6978336dcbcb220024fb64ec2d38
tree7e41dd812bf7e3f8be0f6e345cf8a2f592d73428
parent1d38f5d828b45546e53095a172c77556642a8a04
ALSA: usb-audio: UAC3: Parse Input Terminal number of channels.

Obtain the number of channels for the Input Terminal from the
Logical Cluster Descriptor. This achieves a useful minimal parsing
of this unit so it can be used in other units in the topology.

Signed-off-by: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Reviewed-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Tested-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c