From: Takashi Iwai <tiwai@suse.de>
To: "\"Habil Eren Türker\"" <habilerenturker@gmail.com>
Cc: perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org,
linux-sound@vger.kernel.org,
"Habil Eren Türker" <habilerenturker@hotmail.com>
Subject: Re: [PATCH] ALSA: hda/realtek: Fix speaker mute LED for HP Laptop 15-fd0039nt
Date: Tue, 25 Aug 2026 09:58:50 +0200 [thread overview]
Message-ID: <87jypetyv9.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260824094256.3758-1-habilerenturker@hotmail.com>
On Mon, 24 Aug 2026 11:42:28 +0200,
Habil Eren Türker wrote:
>
> HP Laptop 15-fd0039nt (SSID 103c:8bb6) needs a quirk to control the
> speaker mute LED via VREF100 on NID 0x1a (active-high).
>
> This patch replaces the previous ALC236_FIXUP_HP_MICMUTE_LED_ONLY
> with ALC236_FIXUP_HP_15_FD0XXX, which covers both mic mute (GPIO0)
> and speaker mute (NID 0x1a) LEDs.
>
> Use spec->no_shutup_pins instead of a custom shutup hook, as suggested
> by Takashi Iwai.
>
> Fixes: e711ebfadc9a ("ALSA: hda/realtek: Add quirk for HP Laptop 15-fd0039nt")
> Tested-by: Habil Eren Türker <habilerenturker@hotmail.com>
> Signed-off-by: Habil Eren Türker <habilerenturker@hotmail.com>
> ---
> sound/hda/codecs/realtek/alc269.c | 51 ++++++++++++++++++++++++++-----
> 1 file changed, 43 insertions(+), 8 deletions(-)
>
> diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
> index 01b87267f..a2a3341c3 100644
> --- a/sound/hda/codecs/realtek/alc269.c
> +++ b/sound/hda/codecs/realtek/alc269.c
> @@ -1364,14 +1364,49 @@ static void alc269_fixup_hp_gpio_led(struct hda_codec *codec,
> alc_fixup_hp_gpio_led(codec, action, 0x08, 0x10);
> }
>
> -static void alc236_fixup_hp_micmute_led_only(struct hda_codec *codec,
> - const struct hda_fixup *fix, int action)
> +/* Patch for HP 15-fd0xxx (8BB6) Speaker Mute LED & Mic-Mute LED */
> +
> +static unsigned int hp_8bb6_power_filter(struct hda_codec *codec,
> + hda_nid_t nid,
> + unsigned int power_state)
> +{
> + if (nid == 0x1a)
> + return AC_PWRST_D0;
> + return snd_hda_gen_path_power_filter(codec, nid, power_state);
> +}
Better to give a bit more comment about this power filter, as it's not
clear why keeping the power of NID 0x1a.
Also, the patch contained trailing whitespaces.
Please run scripts/checkpatch.pl before resubmission.
thanks,
Takashi
next prev parent reply other threads:[~2026-08-25 7:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-24 9:42 [PATCH] ALSA: hda/realtek: Fix speaker mute LED for HP Laptop 15-fd0039nt Habil Eren Türker
2026-08-25 7:58 ` Takashi Iwai [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-08-25 8:40 Habil Eren Türker
2026-08-25 11:04 ` 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=87jypetyv9.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=habilerenturker@gmail.com \
--cc=habilerenturker@hotmail.com \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--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