From: sashiko-bot@kernel.org
To: "Zhang Heng" <zhangheng@kylinos.cn>
Cc: linux-sound@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda/realtek: Fix mute LEDs on ThinkPad X1 Carbon 6th
Date: Thu, 26 Nov 2026 10:27:33 +0000 [thread overview]
Message-ID: <sashiko-outbox-235289@kernel.org> (raw)
In-Reply-To: <20261126100731.903504-1-zhangheng@kylinos.cn>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] ALSA: hda/realtek: ALC285_LENOVO_DAC_RENAME chain skips noise
fixups
--
commit 4c036af7c1383440b00bb1ed09a1398a8257668b
Author: Zhang Heng <zhangheng@kylinos.cn>
ALSA: hda/realtek: Fix mute LEDs on ThinkPad X1 Carbon 6th
This commit chains ALC285_LENOVO_DAC_RENAME to ALC269_FIXUP_THINKPAD_ACPI
to restore the mute and mic-mute LEDs on the ThinkPad X1 Carbon 6th Gen.
> diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
> index f906fce39c111..e54fd1b414715 100644
> --- a/sound/hda/codecs/realtek/alc269.c
> +++ b/sound/hda/codecs/realtek/alc269.c
> @@ -7578,6 +7578,8 @@ static const struct hda_fixup alc269_fixups[] = {
> [ALC285_LENOVO_DAC_RENAME] = {
> .type = HDA_FIXUP_FUNC,
> .v.func = alc285_lenovo_dac_rename,
> + .chained = true,
> + .chain_id = ALC269_FIXUP_THINKPAD_ACPI,
> },
> [ALC287_FIXUP_YOGA9_SPEAKER2_TO_DAC1] = {
> .type = HDA_FIXUP_FUNC,
[Severity: Medium]
Should ALC285_LENOVO_DAC_RENAME chain to
ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE rather than directly to
ALC269_FIXUP_THINKPAD_ACPI?
Before 108704eecab9 ("ALSA: hda/realtek: Rename Line Out control to
Headphone on ThinkPad X1 Carbon 6th") added the 0x17aa:0x225c entry to
alc269_fixup_tbl, this machine matched alc269_pin_fixup_tbl:
sound/hda/codecs/realtek/alc269.c:alc269_pin_fixup_tbl[] {
...
SND_HDA_PIN_QUIRK(0x10ec0285, 0x17aa, "Lenovo", ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE,
{0x12, 0x90a60130},
{0x14, 0x90170110},
{0x19, 0x04a11040},
{0x21, 0x04211020}),
...
}
That pin quirk chains ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE (which disables
PCBEEP-IN passthrough noise via COEF 0x36) ->
ALC285_FIXUP_LENOVO_HEADPHONE_NOISE (alc285_fixup_invalidate_dacs(), which
disables DAC 0x03 to prevent headphone click noise) ->
ALC269_FIXUP_THINKPAD_ACPI.
Chaining directly to ALC269_FIXUP_THINKPAD_ACPI still skips both noise
fixups. Because "Line Out Playback Volume" is only created when
alc285_fixup_invalidate_dacs() forces Speaker and Headphone to share DAC
0x02, alc285_lenovo_dac_rename() is currently a no-op. Also, once DAC
0x02 is shared between Speaker and Headphone, renaming "Line Out Playback
Volume" to "Headphone Playback Volume" causes PipeWire/PulseAudio ACP to
mute "Headphone Playback Volume" when switching to the Speaker port,
silencing the internal speakers (unlike a port-neutral name as used in
alc285_fixup_thinkpad_x1_gen7()).
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126100731.903504-1-zhangheng@kylinos.cn?part=1
next prev parent reply other threads:[~2026-11-26 10:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 10:07 [PATCH] ALSA: hda/realtek: Fix mute LEDs on ThinkPad X1 Carbon 6th Zhang Heng
2026-11-26 10:27 ` sashiko-bot [this message]
2026-11-27 17:32 ` 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=sashiko-outbox-235289@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=zhangheng@kylinos.cn \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.