summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJeremy Szu <jeremy.szu@canonical.com>2021-03-16 17:42:35 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-25 09:04:05 +0100
commit68525e424175e1120bd7c68b3ecfe3018405b07f (patch)
treeba84027569aaaf11f4215c175ef8a22b2ec4abbe /sound
parentf086deab2c64f82a4eb88c2159674e2bfe98f8f0 (diff)
downloadlinux-stable-68525e424175e1120bd7c68b3ecfe3018405b07f.tar.gz
linux-stable-68525e424175e1120bd7c68b3ecfe3018405b07f.tar.bz2
linux-stable-68525e424175e1120bd7c68b3ecfe3018405b07f.zip
ALSA: hda/realtek: fix mute/micmute LEDs for HP 850 G8
commit 53b861bec737c189cc14ec3b5785d0f13445ac0f upstream. The HP EliteBook 850 G8 Notebook PC is using ALC285 codec which is 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/20210316094236.89028-1-jeremy.szu@canonical.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 145d6cf4939e..316b9b4ccb32 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -8060,6 +8060,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
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, 0x8846, "HP EliteBook 850 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED),
SND_PCI_QUIRK(0x103c, 0x884c, "HP EliteBook 840 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED),
SND_PCI_QUIRK(0x1043, 0x103e, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC),
SND_PCI_QUIRK(0x1043, 0x103f, "ASUS TX300", ALC282_FIXUP_ASUS_TX300),