Linux Sound subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Hsinyi Chien" <suzu1dev@gmail.com>
Cc: linux-sound@vger.kernel.org
Subject: Re: [PATCH v2 1/2] ALSA: hda/realtek: Honor no_shutup_pins in alc225_shutup()
Date: Sat, 05 Dec 2026 21:53:08 +0000	[thread overview]
Message-ID: <sashiko-outbox-251930@kernel.org> (raw)
In-Reply-To: <20261205213840.62481-2-suzu1dev@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] ALSA: hda/realtek: missing Fixes trailer for alc225_shutup()
  no_shutup_pins
--

commit 0a0853f2c09e04f93a99b33ccf24a99357c64345
Author: Hsinyi Chien <suzu1dev@gmail.com>

> ALSA: hda/realtek: Honor no_shutup_pins in alc225_shutup()
>
> alc282_shutup(), alc283_shutup(), alc256_shutup() and
> alc_default_shutup() do not clear the headphone pin control when
> spec->no_shutup_pins is set. alc225_shutup() clears it
> unconditionally, so on the codecs that use alc225_shutup() the flag
> only skips the later alc_shutup_pins() call.
>
> Skip the pin control write in alc225_shutup() too when the flag is
> set. The 3k pull-low toggle, the headphone amp mute and the EAPD
> change stay as they are.
>
> This changes runtime suspend and shutdown on every machine that
> already sets no_shutup_pins and has a codec that uses
> alc225_shutup(), for example through alc_fixup_thinkpad_acpi(). The
> headphone pin control is no longer cleared there. Only the ASUS
> GU605CX was tested, with the fixup from the next patch.
>
> This patch and its changelog were drafted with an LLM coding
> assistant (Anthropic Claude).
>
> Signed-off-by: Hsinyi Chien <suzu1dev@gmail.com>

[Severity: Low]
This fixes an omission from the commit that introduced spec->no_shutup_pins
and guarded the other shutup callbacks, leaving the headphone pin control
writes in alc225_shutup() unguarded.  Should this include:

  Fixes: c0ca5eced222 ("ALSA: hda/realtek - Reduce click noise on Dell Precision 5820 headphone")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261205213840.62481-1-suzu1dev@gmail.com?part=1

  reply	other threads:[~2026-12-05 21:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05 21:38 [PATCH v2 0/2] ALSA: hda/realtek: Fix headphone jack pop on ASUS GU605C Hsinyi Chien
2026-12-05 21:38 ` [PATCH v2 1/2] ALSA: hda/realtek: Honor no_shutup_pins in alc225_shutup() Hsinyi Chien
2026-12-05 21:53   ` sashiko-bot [this message]
2026-12-05 22:01     ` Hsinyi Chien
2026-12-05 21:38 ` [PATCH v2 2/2] ALSA: hda/realtek: Fix headphone jack pop on ASUS GU605C Hsinyi Chien

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-251930@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=suzu1dev@gmail.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