]> git.baikalelectronics.ru Git - 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)
commit940824369916f0623f3f918dddec48d200b7ffaa
treedbfb9a1aa53bd66bb99e0dbee4e3cb4b4b9f90cf
parent7e7dd030ca52a97a734bb5c905a5e73324611ac5
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