mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jackie Dong <xy-jackie@139.com>
To: perex@perex.cz, tiwai@suse.com, kailang@realtek.com,
	sbinding@opensource.cirrus.com, chris.chiu@canonical.com,
	simont@opensource.cirrus.com, josh@joshuagrisham.com
Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	dongeg1@lenovo.com, Jackie Dong <xy-jackie@139.com>
Subject: [PATCH] patch_realtek: Support mute LED for Yoga with ALC287
Date: Mon, 14 Jul 2025 17:46:55 +0800	[thread overview]
Message-ID: <20250714094655.4657-1-xy-jackie@139.com> (raw)

Support mute LED on keyboard for Lenovo Yoga series products with 
Realtek ALC287 chipset.

Tested on Lenovo Slim Pro 7 14APH8.

Signed-off-by: Jackie Dong <xy-jackie@139.com>
---
 sound/pci/hda/patch_realtek.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 5d6d01ecfee2..6689f8b4c38a 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7497,6 +7497,12 @@ 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);
-- 
2.43.0



             reply	other threads:[~2025-07-14  9:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-14  9:46 Jackie Dong [this message]
2025-07-14 10:42 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250714094655.4657-1-xy-jackie@139.com \
    --to=xy-jackie@139.com \
    --cc=chris.chiu@canonical.com \
    --cc=dongeg1@lenovo.com \
    --cc=josh@joshuagrisham.com \
    --cc=kailang@realtek.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=sbinding@opensource.cirrus.com \
    --cc=simont@opensource.cirrus.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®