diff options
author | 2019-07-24 18:14:13 +1000 | |
---|---|---|
committer | 2019-07-30 14:12:51 +0300 | |
commit | ff32e6e2dfd3cfdcaef63a0688bbfb9259aebe02 (patch) | |
tree | cf4afde8b580d6290d076cfed4a0473a22aae0c5 /drivers/platform | |
parent | platform/x86: acer-wmi: Switch to acpi_dev_get_first_match_dev() (diff) | |
download | linux-ff32e6e2dfd3cfdcaef63a0688bbfb9259aebe02.tar.gz linux-ff32e6e2dfd3cfdcaef63a0688bbfb9259aebe02.tar.bz2 linux-ff32e6e2dfd3cfdcaef63a0688bbfb9259aebe02.zip |
platform/x86: dell-wmi: Ignore keyboard backlight change KBD_LED_ON_TOKEN
There's a wmi event generated by dell-wmi when pressing keyboard backlight
toggle key:
[1224203.948894] dell_wmi: Unknown key with type 0x0011 and code 0x01e2 pressed
This event is for notification purposes, let's ignore it.
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/dell-wmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index acc653f9c16f..d9cd59d60b66 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b/drivers/platform/x86/dell-wmi.c @@ -312,6 +312,7 @@ static const struct key_entry dell_wmi_keymap_type_0011[] = { /* Keyboard backlight level changed */ { KE_IGNORE, 0x01e1, { KEY_RESERVED } }, + { KE_IGNORE, 0x01e2, { KEY_RESERVED } }, { KE_IGNORE, 0x02ea, { KEY_RESERVED } }, { KE_IGNORE, 0x02eb, { KEY_RESERVED } }, { KE_IGNORE, 0x02ec, { KEY_RESERVED } }, |