platform/x86: dell-wmi: add new keymap type 0x0012
authorY Paritcher <y.linux@paritcher.com>
Wed, 10 Jun 2020 17:56:57 +0000 (13:56 -0400)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 9 Jul 2020 19:47:27 +0000 (22:47 +0300)
commit0c026c361be1734ac84da968d52876c068ab4d75
treefb4b1edcbfd3d76c4582de138977ed3d4af1caee
parenta633c479c6dba290e46bd218d0eba174bc059edb
platform/x86: dell-wmi: add new keymap type 0x0012

These are events with extended data. The extended data is
currently ignored as userspace does not have a way to deal
it.

Ignore event with a type of 0x0012 and a code of 0xe035, as
the keyboard controller takes care of Fn lock events by itself.
This silences the following messages being logged when
pressing the Fn-lock key on a Dell Inspiron 5593:

dell_wmi: Unknown WMI event type 0x12
dell_wmi: Unknown key with type 0x0012 and code 0xe035 pressed

This is consistent with the behavior for the Fn-lock key
elsewhere in this file.

Signed-off-by: Y Paritcher <y.linux@paritcher.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Mario Limonciello <mario.limonciello@dell.com>
drivers/platform/x86/dell-wmi.c