ALSA: hda/realtek: fix mute/micmute LEDs for HP 840 G8
authorJeremy Szu <jeremy.szu@canonical.com>
Tue, 16 Mar 2021 06:54:50 +0000 (14:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Mar 2021 08:04:04 +0000 (09:04 +0100)
commit7b00df1894c6c3d72753f37358a05322c861d5dd
tree51d0caa5e4eadb59bd1f040cf2a34fa7246a7dea
parent14af4bf8d48160cd3fa46046b425a4e14f3852bd
ALSA: hda/realtek: fix mute/micmute LEDs for HP 840 G8

commit ca6883393f0fa7f13ec8b860dbcef423a759c4a2 upstream.

The HP EliteBook 840 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/20210316065452.75659-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