[1/2] ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform.

Message ID 20230214035853.31217-1-andy.chi@canonical.com
State New
Headers
Series [1/2] ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform. |

Commit Message

Andy Chi Feb. 14, 2023, 3:58 a.m. UTC
  There is a HP platform needs ALC236_FIXUP_HP_GPIO_LED quirk to
make mic-mute/audio-mute working.

Signed-off-by: Andy Chi <andy.chi@canonical.com>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Takashi Iwai Feb. 14, 2023, 10:25 a.m. UTC | #1
On Tue, 14 Feb 2023 04:58:51 +0100,
Andy Chi wrote:
> 
> There is a HP platform needs ALC236_FIXUP_HP_GPIO_LED quirk to
> make mic-mute/audio-mute working.
> 
> Signed-off-by: Andy Chi <andy.chi@canonical.com>

Applied this one (but the second one looks dubious).


thanks,

Takashi
  

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 1134a493d225..7b9fb38ff732 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9436,6 +9436,7 @@  static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x103c, 0x8b5e, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF),
 	SND_PCI_QUIRK(0x103c, 0x8b7a, "HP", ALC236_FIXUP_HP_GPIO_LED),
 	SND_PCI_QUIRK(0x103c, 0x8b7d, "HP", ALC236_FIXUP_HP_GPIO_LED),
+	SND_PCI_QUIRK(0x103c, 0x8b87, "HP", ALC236_FIXUP_HP_GPIO_LED),
 	SND_PCI_QUIRK(0x103c, 0x8b8a, "HP", ALC236_FIXUP_HP_GPIO_LED),
 	SND_PCI_QUIRK(0x103c, 0x8b8b, "HP", ALC236_FIXUP_HP_GPIO_LED),
 	SND_PCI_QUIRK(0x103c, 0x8b8d, "HP", ALC236_FIXUP_HP_GPIO_LED),