Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda/realtek: Fix duplicate LEDs on HP Spectre x360 16-f2xxx
@ 2026-11-24  2:17 Abhiraj Dutta via B4 Relay
  2026-11-24 12:48 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Abhiraj Dutta via B4 Relay @ 2026-11-24  2:17 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: Takashi Iwai, linux-sound, linux-kernel, stable, Abhiraj Dutta

From: Abhiraj Dutta <abhirajdutta7@gmail.com>

The EU0XXX fixup already sets up the mute and mic-mute LEDs, so chaining
ALC245_FIXUP_HP_X360_MUTE_LEDS after it registers both LEDs twice
(hda::mute_1 and hda::micmute_1 appear). Use the EU0XXX fixup directly.

The original commit message also got the SSID wrong: under SOF the PCI
SSID is 103c:891e, not 103c:0000.

Fixes: e30ec632e1f0 ("ALSA: hda/realtek: Add quirk for HP Spectre x360 2-in-1 Laptop 16-f2xxx")
Cc: stable@vger.kernel.org
Signed-off-by: Abhiraj Dutta <abhirajdutta7@gmail.com>
---
 sound/hda/codecs/realtek/alc269.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index dfdcf8b98..406524178 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -4524,7 +4524,6 @@ enum {
 	ALC256_FIXUP_HEADPHONE_AMP_VOL,
 	ALC245_FIXUP_HP_SPECTRE_X360_EU0XXX,
 	ALC245_FIXUP_HP_SPECTRE_X360_16_AA0XXX,
-	ALC245_FIXUP_HP_SPECTRE_X360_16_F2XXX,
 	ALC245_FIXUP_HP_ZBOOK_FIREFLY_G12A,
 	ALC285_FIXUP_ASUS_GA403U,
 	ALC285_FIXUP_ASUS_GA403U_HEADSET_MIC,
@@ -7227,12 +7226,6 @@ static const struct hda_fixup alc269_fixups[] = {
 		.type = HDA_FIXUP_FUNC,
 		.v.func = alc245_fixup_hp_spectre_x360_16_aa0xxx,
 	},
-	[ALC245_FIXUP_HP_SPECTRE_X360_16_F2XXX] = {
-		.type = HDA_FIXUP_FUNC,
-		.v.func = alc245_fixup_hp_spectre_x360_eu0xxx,
-		.chained = true,
-		.chain_id = ALC245_FIXUP_HP_X360_MUTE_LEDS
-	},
 	[ALC245_FIXUP_HP_ZBOOK_FIREFLY_G12A] = {
 		.type = HDA_FIXUP_FUNC,
 		.v.func = alc245_fixup_hp_zbook_firefly_g12a,
@@ -7876,7 +7869,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x103c, 0x8902, "HP OMEN 16", ALC285_FIXUP_HP_MUTE_LED),
 	SND_PCI_QUIRK(0x103c, 0x890e, "HP 255 G8 Notebook PC", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
 	SND_PCI_QUIRK(0x103c, 0x8919, "HP Pavilion Aero Laptop 13-be0xxx", ALC287_FIXUP_HP_GPIO_LED),
-	SND_PCI_QUIRK(0x103c, 0x891e, "HP Spectre x360 2-in-1 Laptop 16-f2xxx", ALC245_FIXUP_HP_SPECTRE_X360_16_F2XXX),
+	SND_PCI_QUIRK(0x103c, 0x891e, "HP Spectre x360 2-in-1 Laptop 16-f2xxx", ALC245_FIXUP_HP_SPECTRE_X360_EU0XXX),
 	SND_PCI_QUIRK(0x103c, 0x896d, "HP ZBook Firefly 16 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
 	SND_PCI_QUIRK(0x103c, 0x896e, "HP EliteBook x360 830 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
 	SND_PCI_QUIRK(0x103c, 0x8971, "HP EliteBook 830 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),

---
base-commit: 896ec6bbe7dd2f29aff1a12eb318a6828be1edd8
change-id: 20261123-hp-spectre-16-f2-led-fix-a4e13bdc6db1

Best regards,
-- 
Abhiraj Dutta <abhirajdutta7@gmail.com>



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-24 12:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24  2:17 [PATCH] ALSA: hda/realtek: Fix duplicate LEDs on HP Spectre x360 16-f2xxx Abhiraj Dutta via B4 Relay
2026-11-24 12:48 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox