]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bdce6ae6afcb684a270d3b2c2b873343bb39be9
tree55a6acad53e06c4f2321191692a031c08ea2a257
parentc81919593524354b57a97f717c2bbdfb982d26ec
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