Messages in this thread | | | Date | Wed, 24 Aug 2022 12:06:15 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH v2 1/1] platform/x86: asus-wmi: Add mic-mute LED classdev support |
| |
Hi!
> In some new ASUS devices, hotkey Fn+F13 is used for mic mute. If mic-mute > LED is present by checking WMI ASUS_WMI_DEVID_MICMUTE_LED, we will add a > mic-mute LED classdev, asus::micmute, in the asus-wmi driver to control > it. The binding of mic-mute LED controls will be swithched with LED > trigger. > > Signed-off-by: PaddyKP_Yao <PaddyKP_Yao@asus.com> > --- > V1 -> V2: fix typo for 'present' and remove unnecessary pr_info() log > > drivers/platform/x86/Kconfig | 2 ++ > drivers/platform/x86/asus-wmi.c | 25 ++++++++++++++++++++++ > include/linux/platform_data/x86/asus-wmi.h | 1 + > 3 files changed, 28 insertions(+) > > asus->micmute_led.name = "asus::micmute";
Please see/modify well-known-leds.txt file. We want this consistent on all devices.
Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |