Patch for mute led of HP Laptop 15 da3001TU

From: Aman Dhoot
Date: Wed Apr 24 2024 - 12:06:00 EST


Hello there,

This patch is for fixing the volume mute LED on HP Laptop 15 da3001TU, this patch adds SND_PCI_QUIRK for HP Laptop 15-da3001TU, please review this patch & add this patch to the mainline kernel.

I have tested this patch on the latest kernel 6.8.7 & it is working without any problem.
From 12108ce794465925c9dc184253356d1daaa9f509 Mon Sep 17 00:00:00 2001
From: Aman Dhoot <amandhoot12@xxxxxxxxx>
Date: Mon, 22 Apr 2024 18:08:23 +0530
Subject: [PATCH] Fix mute led of HP Laptop 15-da3001TU.

This patch simply add SND_PCI_QUIRK for HP Laptop 15-da3001TU to fixed mute led of laptop.

Signed-off-by: Aman Dhoot <amandhoot12@xxxxxxxxx>
---
sound/pci/hda/patch_realtek.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index d1c35cd5a776..4189eb30484a 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9937,6 +9937,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x103c, 0x860f, "HP ZBook 15 G6", ALC285_FIXUP_HP_GPIO_AMP_INIT),
SND_PCI_QUIRK(0x103c, 0x861f, "HP Elite Dragonfly G1", ALC285_FIXUP_HP_GPIO_AMP_INIT),
SND_PCI_QUIRK(0x103c, 0x869d, "HP", ALC236_FIXUP_HP_MUTE_LED),
+ SND_PCI_QUIRK(0x103c, 0x86c1, "HP Laptop 15-da3001TU", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
SND_PCI_QUIRK(0x103c, 0x86c7, "HP Envy AiO 32", ALC274_FIXUP_HP_ENVY_GPIO),
SND_PCI_QUIRK(0x103c, 0x86e7, "HP Spectre x360 15-eb0xxx", ALC285_FIXUP_HP_SPECTRE_X360_EB1),
SND_PCI_QUIRK(0x103c, 0x86e8, "HP Spectre x360 15-eb0xxx", ALC285_FIXUP_HP_SPECTRE_X360_EB1),
--
2.39.2