30 Apr
2020
30 Apr
'20
7:22 p.m.
On Thu, 30 Apr 2020 15:52:07 +0200, Kai-Heng Feng wrote:
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
v2:
- Only compile the code when CONFIG_LEDS_TRIGGER_AUDIO is reachable.
Applied to for-next branch. Thanks.
Takashi