]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ALSA: usb-audio: Add static mapping table for ALC1220-VB-based mobos
authorTakashi Iwai <tiwai@suse.de>
Mon, 20 Apr 2020 06:20:36 +0000 (08:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Apr 2020 06:21:28 +0000 (08:21 +0200)
commita43c1c41bc5145971d06edc42a6b1e8faa0e2bc3
treedbfb9a1aa53bd66bb99e0dbee4e3cb4b4b9f90cf
parenta8cf44f085ac12c0b5b8750ebb3b436c7f455419
ALSA: usb-audio: Add static mapping table for ALC1220-VB-based mobos

TRX40 mobos from MSI and others with ALC1220-VB USB-audio device need
yet more quirks for the proper control names.

This patch provides the mapping table for those boards, correcting the
FU names for volume and mute controls as well as the terminal names
for jack controls.  It also improves build_connector_control() not to
add the directional suffix blindly if the string is given from the
mapping table.

With this patch applied, the new UCM profiles will be effective.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206873
Link: https://lore.kernel.org/r/20200420062036.28567-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c
sound/usb/mixer_maps.c
sound/usb/quirks-table.h