]> www.infradead.org Git - users/dwmw2/linux.git/commit
platform/x86: ideapad-laptop: Fix Legion 5 Fn lock LED
authorMeng Dong <whenov@gmail.com>
Tue, 17 Aug 2021 17:12:03 +0000 (01:12 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 20 Aug 2021 10:09:37 +0000 (12:09 +0200)
commit3ae86d2d4704796ee658a34245cb86e68c40c5d7
treeeb38836e219ed461d8fbc5e0386cf00e888a2d23
parent30f64e2066ab1b51139307eb33dc217838bd19bc
platform/x86: ideapad-laptop: Fix Legion 5 Fn lock LED

This patch fixes the bug 212671.
Althrough the Fn lock (Fn + Esc) works on Legion 5 (R7000P), its LED
light does not change with the state. This modification sets the Fn lock
state to its current value on receiving the wmi event
8FC0DE0C-B4E4-43FD-B0F3-8871711C1294 to update the LED state.

Signed-off-by: Meng Dong <whenov@gmail.com>
Link: https://lore.kernel.org/r/20210817171203.12855-1-whenov@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/ideapad-laptop.c