]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ALSA: hda/realtek: Support mute LED for Yoga with ALC287
authorJackie Dong <xy-jackie@139.com>
Mon, 14 Jul 2025 09:46:55 +0000 (17:46 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 Jul 2025 10:34:42 +0000 (12:34 +0200)
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 <xy-jackie@139.com>
Link: https://patch.msgid.link/20250714094655.4657-1-xy-jackie@139.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 132cef8fab08b0d4aa2fda7a01c4d82d5097a2fe..47ceb6f32291210b4f73be0f0fea7b2240f529b9 100644 (file)
@@ -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);