From: Rhys Kidd Date: Wed, 24 Jul 2019 08:14:14 +0000 (+1000) Subject: platform/x86: dell-wmi: Ignore keyboard backlight change KBD_LED_AUTO_TOKEN X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1be4311063a44ba8f4292a3a4a1f537be1f0b344;p=openwrt%2Fstaging%2Fblogic.git platform/x86: dell-wmi: Ignore keyboard backlight change KBD_LED_AUTO_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 Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index d9cd59d60b66..31a092e049a0 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b/drivers/platform/x86/dell-wmi.c @@ -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 } },