Skip to content
Commit cbc61f11 authored by Andy Lutomirski's avatar Andy Lutomirski Committed by Darren Hart
Browse files

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: default avatarAndy Lutomirski <luto@kernel.org>
Reviewed-by: default avatarPali Rohár <pali.rohar@gmail.com>
[dvhart: remove BUILD_BUG_ON per mutual agreement on list]
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent c1e1655b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment