]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 08:50:07 +0000 (10:50 +0200)
commitc875ec1f12cb64749383c82d9fbb69146102217c
tree054a07f02d84d9f88cd2dbf151fb20aaa648b61f
parent5c8577791df0442e2a159c3522134c7ee240d707
ALSA: hda/realtek: Enable mute LED on an HP system

commit 4c495a1bab318d6ed9fcaeba0ffb66f5ab83935c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c