]> 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)
commit83691e51d7e1f2ed9a720e31d3e35b0e8d160605
tree7e41dd812bf7e3f8be0f6e345cf8a2f592d73428
parent450d862de2f919e77364be9977daf13c4370ae34
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