ALSA: hda/realtek: Enable mute LED on an HP system
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Fri, 27 Mar 2020 04:46:25 +0000 (12:46 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 27 Mar 2020 08:31:00 +0000 (09:31 +0100)
commitf5a88b0accc24c4a9021247d7a3124f90aa4c586
tree55a6acad53e06c4f2321191692a031c08ea2a257
parente9097e47e349b747dee50f935216de0ffb662962
ALSA: hda/realtek: Enable mute LED on an HP system

The system in question uses ALC285, and it uses GPIO 0x04 to control its
mute LED.

The mic mute LED can be controlled by GPIO 0x01, however the system uses
DMIC so we should use that to control mic mute LED.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200327044626.29582-1-kai.heng.feng@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c