]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Add LED class support for micmute LED
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Thu, 30 Apr 2020 13:52:07 +0000 (21:52 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Apr 2020 17:20:25 +0000 (19:20 +0200)
commit7e396bdd305575f5178f407e3ca85a879f997a18
treed6bf0313b264ed8db8907dfb0681d4769d10fb9d
parent42ea72281086c5acb1753d92cc489e3eb3fe4aa9
ALSA: hda/realtek - Add LED class support for micmute LED

Currently DMIC controls micmute LED via "audio mute LED trigger".

However, unlike Dell and Lenovo platforms, HP platforms don't provide a
way to control micmute LED via ACPI, it's controlled by HDA codec
instead.

So let's register an LED class for micmute so other subsystems like DMIC
can facilitate the codec-controlled LED.

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