summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/ideapad-laptop.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2015-11-30 17:02:01 -0800
committerDarren Hart <dvhart@linux.intel.com>2016-01-19 15:49:35 -0800
commitcbc61f114af5fb078d84dc8864152f4db1712bc5 (patch)
treeaee938b8ddfbe71787c8fed387a879ad7ea064a9 /drivers/platform/x86/ideapad-laptop.c
parentc1e1655bb892c6800af82c2d88c8063fce7b5c98 (diff)
dell-wmi: Improve unknown hotkey handling
If DMI lists a hotkey that we don't recognize, log and ignore it instead of trying to map it to keycode 0. I haven't seen this happen, but it will help maintain the key map in the future and it will help avoid sending bogus events. This also improves the message that we log when we get an unknown key event. Signed-off-by: Andy Lutomirski <luto@kernel.org> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> [dvhart: remove BUILD_BUG_ON per mutual agreement on list] Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/ideapad-laptop.c')
0 files changed, 0 insertions, 0 deletions