Skip to content

Commit

Permalink
platform/x86: dell-wmi: Ignore keyboard backlight change KBD_LED_AUTO…
Browse files Browse the repository at this point in the history
…_TOKEN

There's a wmi event generated by dell-wmi when pressing keyboard backlight
toggle key:
[1224178.355650] dell_wmi: Unknown key with type 0x0011 and code 0x01e3 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>
  • Loading branch information
Rhys Kidd authored and Andy Shevchenko committed Jul 30, 2019
1 parent ff32e6e commit 1be4311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/platform/x86/dell-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,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, 0x01e3, { KEY_RESERVED } },
{ KE_IGNORE, 0x02ea, { KEY_RESERVED } },
{ KE_IGNORE, 0x02eb, { KEY_RESERVED } },
{ KE_IGNORE, 0x02ec, { KEY_RESERVED } },
Expand Down

0 comments on commit 1be4311

Please sign in to comment.