All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Carl Egbert <egbertcarl@gmail.com>
Cc: Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>,
	Eric Naim <dnaim@cachyos.org>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	regressions@lists.linux.dev, stable@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda/realtek: Fix mute LED regression on ThinkPad T440/T450 family
Date: Fri, 27 Nov 2026 18:38:00 +0100	[thread overview]
Message-ID: <877bhymayv.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261127171241.1619113-1-egbertcarl@gmail.com>

On Fri, 27 Nov 2026 18:12:41 +0100,
Carl Egbert wrote:
> 
> Since commit 8a889cce1c6d ("ALSA: hda/realtek: Unchain
> ALC269_FIXUP_THINKPAD_ACPI from ALC269_FIXUP_LIMIT_INT_MIC_BOOST"),
> ThinkPads whose fixup chain goes through ALC292_FIXUP_TPT440_DOCK or
> ALC283_FIXUP_INT_MIC no longer get their mute LEDs set up. On a ThinkPad
> T450 (SSID 17aa:5034), the speaker mute LED no longer follows the mute
> state: no mixer control gets the speaker LED access flag, so snd-ctl-led
> is not loaded automatically and
> /sys/class/sound/ctl-led/speaker/card1/list stays empty.
> 
> Commit b2d447288fa7 ("ALSA: hda/realtek: Add
> ALC269_FIXUP_THINKPAD_LIMIT_INT_MIC_BOOST quirk") added a ThinkPad
> variant of ALC269_FIXUP_LIMIT_INT_MIC_BOOST and switched the quirk table
> entries that selected the plain fixup directly. Then
> commit 8a889cce1c6d ("ALSA: hda/realtek: Unchain
> ALC269_FIXUP_THINKPAD_ACPI from ALC269_FIXUP_LIMIT_INT_MIC_BOOST")
> removed the chain to ALC269_FIXUP_THINKPAD_ACPI from the plain fixup.
> However, two fixups reach the plain fixup through their own chain_id and
> were not converted:
> 
>   - ALC292_FIXUP_TPT440_DOCK, used by the ThinkPad T440, T440p, T440s
>     (via ALC292_FIXUP_TPT440), T540p, W541, X240, X1 Carbon 2nd, T550,
>     X250, L440, T450, T450s, L450 and X260
>   - ALC283_FIXUP_INT_MIC, used by a ThinkPad (17aa:501a), the IdeaPad
>     S210 and the Lenovo 145 (via ALC236_FIXUP_LENOVO_INV_DMIC)
> 
> Their chains now end before alc_fixup_thinkpad_acpi(), so these machines
> no longer get the mute LED setup for thinkpad_acpi, nor no_shutup_pins.
> 
> Point both fixups at ALC269_FIXUP_THINKPAD_LIMIT_INT_MIC_BOOST, which
> restores the fixup chains these machines had before 8a889cce1c6d. On
> the IdeaPad S210 and Lenovo 145, is_thinkpad() is false, so they only
> get no_shutup_pins back, as before the regression.
> 
> Tested on a ThinkPad T450 on top of sound.git for-linus (e79163b531ec):
> with this patch, snd-ctl-led is loaded automatically at boot, and the
> speaker and mic mute LEDs follow the playback and capture mute state
> again. Not tested on the machines using ALC283_FIXUP_INT_MIC.
> 
> The regression was bisected on the affected T450. An AI assistant
> (Claude Code, using Claude Opus 5.5) was used throughout: it helped
> diagnose the problem, plan the bisection and write the scripts used for
> it, identify the cause, and drafted this patch and changelog. I ran the
> bisection and the tests on the hardware and reviewed the change.
> 
> Fixes: 8a889cce1c6d ("ALSA: hda/realtek: Unchain ALC269_FIXUP_THINKPAD_ACPI from ALC269_FIXUP_LIMIT_INT_MIC_BOOST")
> Cc: stable@vger.kernel.org
> Signed-off-by: Carl Egbert <egbertcarl@gmail.com>

Applied now.  Thanks.


Takashi

      reply	other threads:[~2026-11-27 17:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 17:12 [PATCH] ALSA: hda/realtek: Fix mute LED regression on ThinkPad T440/T450 family Carl Egbert
2026-11-27 17:38 ` Takashi Iwai [this message]

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=877bhymayv.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=dnaim@cachyos.org \
    --cc=egbertcarl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=regressions@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    --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 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.