diff mbox series

ALSA: hda/realtek: fix mute/micmute LEDs for HP 850 G8

Message ID 20210316094236.89028-1-jeremy.szu@canonical.com (mailing list archive)
State Accepted
Commit 53b861bec737c189cc14ec3b5785d0f13445ac0f
Headers show
Series ALSA: hda/realtek: fix mute/micmute LEDs for HP 850 G8 | expand

Commit Message

Jeremy Szu March 16, 2021, 9:42 a.m. UTC
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>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Takashi Iwai March 16, 2021, 2:08 p.m. UTC | #1
On Tue, 16 Mar 2021 10:42:35 +0100,
Jeremy Szu wrote:
> 
> 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>

Applied now.

But at the next time, if you submit multiple similar patches, please
try to submit in a patch series.  It'll make review easier.


thanks,

Takashi
diff mbox series

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index e34ba64dd0ae..8239e5efc12d 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -8067,6 +8067,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),