diff mbox series

ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP Envy X360 13-ay0xxx

Message ID 651b26e9-e86b-45dd-aa90-3e43d6b99823@catboys.cloud
State Accepted
Commit 6b3d14b7f9b1acaf7303d8499836bf78ee9c470c
Headers show
Series ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP Envy X360 13-ay0xxx | expand

Commit Message

Tom Jason Schwanke Jan. 8, 2024, 3:15 p.m. UTC
This enables the mute and mic-mute LEDs on the HP Envy X360 13-ay0xxx convertibles.
The quirk 'ALC245_FIXUP_HP_X360_MUTE_LEDS' already exists and is now enabled for this device.
Fixes https://bugzilla.kernel.org/show_bug.cgi?id=216197

Signed-off-by: Tom Jason Schwanke <tom@catboys.cloud>
---
  sound/pci/hda/patch_realtek.c | 1 +
  1 file changed, 1 insertion(+)

---

Comments

Takashi Iwai Jan. 8, 2024, 3:55 p.m. UTC | #1
On Mon, 08 Jan 2024 16:15:21 +0100,
Tom Jason Schwanke wrote:
> 
> This enables the mute and mic-mute LEDs on the HP Envy X360 13-ay0xxx convertibles.
> The quirk 'ALC245_FIXUP_HP_X360_MUTE_LEDS' already exists and is now enabled for this device.
> Fixes https://bugzilla.kernel.org/show_bug.cgi?id=216197
> 
> Signed-off-by: Tom Jason Schwanke <tom@catboys.cloud>

The patch was somewhat based on the old kernel (and had a typical mail
tab/space problem), so I adjusted and applied manually.


thanks,

Takashi
diff mbox series

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 1dcfba27e075..475d7e843ed3 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9875,6 +9875,7 @@  static const struct snd_pci_quirk alc269_fixup_tbl[] = {
         SND_PCI_QUIRK(0x103c, 0x8870, "HP ZBook Fury 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT),
         SND_PCI_QUIRK(0x103c, 0x8873, "HP ZBook Studio 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT),
         SND_PCI_QUIRK(0x103c, 0x887a, "HP Laptop 15s-eq2xxx", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
+       SND_PCI_QUIRK(0x103c, 0x876E, "HP ENVY x360 Convertible 13-ay0xxx", ALC245_FIXUP_HP_X360_MUTE_LEDS),
         SND_PCI_QUIRK(0x103c, 0x888a, "HP ENVY x360 Convertible 15-eu0xxx", ALC245_FIXUP_HP_X360_MUTE_LEDS),
         SND_PCI_QUIRK(0x103c, 0x888d, "HP ZBook Power 15.6 inch G8 Mobile Workstation PC", ALC236_FIXUP_HP_GPIO_LED),
         SND_PCI_QUIRK(0x103c, 0x8895, "HP EliteBook 855 G8 Notebook PC", ALC285_FIXUP_HP_SPEAKERS_MICMUTE_LED),