| From dfc2e8ae4066a95c7f9c2bb2dfa26651feaa6b83 Mon Sep 17 00:00:00 2001 |
| From: Jeremy Szu <jeremy.szu@canonical.com> |
| Date: Fri, 25 Jun 2021 21:34:13 +0800 |
| Subject: ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 830 G8 Notebook PC |
| |
| From: Jeremy Szu <jeremy.szu@canonical.com> |
| |
| commit dfc2e8ae4066a95c7f9c2bb2dfa26651feaa6b83 upstream. |
| |
| The HP EliteBook 830 G8 Notebook PC using ALC285 codec which using 0x04 to |
| control mute LED and 0x01 to control micmute LED. |
| Therefore, add a quirk to make it works. |
| |
| Signed-off-by: Jeremy Szu <jeremy.szu@canonical.com> |
| Cc: <stable@vger.kernel.org> |
| Link: https://lore.kernel.org/r/20210625133414.26760-1-jeremy.szu@canonical.com |
| Signed-off-by: Takashi Iwai <tiwai@suse.de> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| sound/pci/hda/patch_realtek.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| --- a/sound/pci/hda/patch_realtek.c |
| +++ b/sound/pci/hda/patch_realtek.c |
| @@ -8355,6 +8355,7 @@ static const struct snd_pci_quirk alc269 |
| SND_PCI_QUIRK(0x103c, 0x87f4, "HP", ALC287_FIXUP_HP_GPIO_LED), |
| SND_PCI_QUIRK(0x103c, 0x87f5, "HP", ALC287_FIXUP_HP_GPIO_LED), |
| SND_PCI_QUIRK(0x103c, 0x87f7, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP), |
| + SND_PCI_QUIRK(0x103c, 0x880d, "HP EliteBook 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), |
| SND_PCI_QUIRK(0x103c, 0x8846, "HP EliteBook 850 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), |
| SND_PCI_QUIRK(0x103c, 0x8847, "HP EliteBook x360 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), |
| SND_PCI_QUIRK(0x103c, 0x884b, "HP EliteBook 840 Aero G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), |