]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/realtek: enable mute LED support on ThinkBook 16p
authorYuxuan Qiu <yuxuanqiu596@gmail.com>
Fri, 24 Apr 2026 11:21:07 +0000 (19:21 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Apr 2026 12:13:32 +0000 (14:13 +0200)
commit597aa74b0e73f5e0c915b5d0c95cb296774589bd
tree08675398beebdc4c713ab4b199d6d9410daa7b38
parent26265dd69da32d88a88d21987853cec899d9e21f
ALSA: hda/realtek: enable mute LED support on ThinkBook 16p

On ThinkBook 16p systems the platform mute LED is present and
bound to the audio-mute trigger, but it does not react to Master
mute changes.

The affected fixup chain sets up the DAC routing, but does not enable
vmaster mute LED handling. Because of that, the generic HDA code does
not mark Master Playback Switch with SNDRV_CTL_ELEM_ACCESS_SPK_LED,
and the audio-mute trigger never receives speaker mute updates.

Add a ThinkBook-specific wrapper around alc287_fixup_bind_dacs() and
enable spec->gen.vmaster_mute_led during PRE_PROBE. This keeps the
existing DAC binding logic unchanged while allowing the normal generic
LED path to drive the mute LED.

Signed-off-by: Yuxuan Qiu <yuxuanqiu596@gmail.com>
Link: https://patch.msgid.link/20260424112107.22206-1-yuxuanqiu596@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/realtek/alc269.c