]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitddda924cc79e7540770dcdd154ac5ccbda1abe1f
tree7e41dd812bf7e3f8be0f6e345cf8a2f592d73428
parentca9e8b2b51646c8a893feb127e911480eb4f7d01
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