From: Jackie Dong Date: Mon, 14 Jul 2025 09:46:55 +0000 (+0800) Subject: ALSA: hda/realtek: Support mute LED for Yoga with ALC287 X-Git-Tag: v6.16-rc7~30^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4722727373533b53489b66d3436b50ac156f23bf;p=thirdparty%2Fkernel%2Flinux.git ALSA: hda/realtek: Support mute LED for Yoga with ALC287 Support mute LED on keyboard for Lenovo Yoga series products with Realtek ALC287 chipset. Tested on Lenovo Slim Pro 7 14APH8. [ slight comment cleanup by tiwai ] Signed-off-by: Jackie Dong Link: https://patch.msgid.link/20250714094655.4657-1-xy-jackie@139.com Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 132cef8fab08b..47ceb6f322912 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7497,6 +7497,9 @@ static void alc287_fixup_yoga9_14iap7_bass_spk_pin(struct hda_codec *codec, }; struct alc_spec *spec = codec->spec; + /* Support Audio mute LED and Mic mute LED on keyboard */ + hda_fixup_ideapad_acpi(codec, fix, action); + switch (action) { case HDA_FIXUP_ACT_PRE_PROBE: snd_hda_apply_pincfgs(codec, pincfgs);