]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Check mapping at creating connector controls, too
authorTakashi Iwai <tiwai@suse.de>
Sun, 12 Apr 2020 08:13:31 +0000 (10:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 12 Apr 2020 08:14:54 +0000 (10:14 +0200)
commitd870ce24d822e1f12ef26c3e3d92b3abe8b3c2df
treecc03821e20caedcbb12b33bc0d09954f383a6046
parent6f2b4ce376445d642ef9db04f95c84b9eade7042
ALSA: usb-audio: Check mapping at creating connector controls, too

Add the mapping check to build_connector_control() so that the device
specific quirk can provide the node to skip for the badly behaving
connector controls.  As an example, ALC1220-VB-based codec implements
the skip entry for the broken SPDIF connector detection.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206873
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200412081331.4742-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c
sound/usb/mixer_maps.c