]> 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)
commit8fd2a294e00b11e500a64f6fde23e46410c66600
treedbfb9a1aa53bd66bb99e0dbee4e3cb4b4b9f90cf
parent33257226abb60476814e1b4ed9c9c3f9fee3395f
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