OSDN Git Service

platform/x86: hp-wmi: Ignore Win-Lock key events
authorRishit Bansal <rishitbansal0@gmail.com>
Mon, 23 Jan 2023 21:41:50 +0000 (03:11 +0530)
committerHans de Goede <hdegoede@redhat.com>
Thu, 2 Feb 2023 21:48:21 +0000 (22:48 +0100)
commit8071b210aeb96ff047fcf55fe4fa1f7e07012e90
tree529647cc350ae40416dbcfd2c8f870bfff228f36
parentdf72690ec365394c3850b37679a3b06c582db252
platform/x86: hp-wmi: Ignore Win-Lock key events

Follow up from https://lore.kernel.org/all/20230120221214.24426-1-rishitbansal0@gmail.com/

There is a "Win-Lock" key on HP Omen Laptops which supports
enabling and disabling the Windows key, which trigger commands 0x21a4
and 0x121a4 respectively. Currently the hp-wmi driver throws warnings
for this event. These can be ignored using KE_IGNORE as the
functionality is handled by the keyboard firmware itself.

Signed-off-by: Rishit Bansal <rishitbansal0@gmail.com>
Link: https://lore.kernel.org/r/20230123214150.62597-1-rishitbansal0@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/hp/hp-wmi.c