OSDN Git Service

platform/x86: dell-wmi: Ignore new keyboard backlight change event
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Wed, 12 Dec 2018 06:41:25 +0000 (14:41 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 5 Feb 2019 17:38:20 +0000 (19:38 +0200)
commit38f250b7d4a04f61bab4aeee3cb86908744f188d
treefcf8eba2d97d22f512a6e0f8dc6d666c19d0af97
parent96f984d3127e283265a6245dacc399967655fe54
platform/x86: dell-wmi: Ignore new keyboard backlight change event

There's a new wmi event generated by dell-wmi when pressing keyboard
backlight hotkey:
[ 3285.474172] dell_wmi: Unknown key with type 0x0010 and code 0x003f pressed

This event is for notification purpose, let's ignore it. The keyboard
backlight hotkey uses another event so it still works without event
0x3f.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/dell-wmi.c