]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Unify virtual type units type to UAC3 values
authorJorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Wed, 11 Jul 2018 12:37:54 +0000 (13:37 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Jul 2018 14:35:55 +0000 (16:35 +0200)
commitaa8856b651216238845660a4cbd5e7f371e0431f
tree2bac837221e04319f03980ca6abafecedd9d1593
parentb257a455c8b79d4bb7470574e6f9b052dcdbb35f
ALSA: usb-audio: Unify virtual type units type to UAC3 values

The Audio Control interface descriptor subtypes do not match
across all the UAC versions. That makes reusability of the
"virtual type" (Mixer, Processors, Selectors, etc) terminals
difficult. It also makes the mixer get the default names for
the virtual terminals wrong due to the overlap.

This patch proposes an unified approach by always using the most
comprehensive spec version to define them all (in this case UAC3).

Signed-off-by: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c