Commit 3e70a57b authored by Luca Stefani's avatar Luca Stefani Committed by Hans de Goede

platform/x86: asus-wmi: Update unknown code message

Prepend 0x to the actual key code to specify it
is already an hex value
Signed-off-by: default avatarLuca Stefani <luca.stefani.ge1@gmail.com>
Link: https://lore.kernel.org/r/20220506122536.113566-1-luca.stefani.ge1@gmail.comSigned-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent b1a9c697
...@@ -3114,7 +3114,7 @@ static void asus_wmi_handle_event_code(int code, struct asus_wmi *asus) ...@@ -3114,7 +3114,7 @@ static void asus_wmi_handle_event_code(int code, struct asus_wmi *asus)
if (!sparse_keymap_report_event(asus->inputdev, code, if (!sparse_keymap_report_event(asus->inputdev, code,
key_value, autorelease)) key_value, autorelease))
pr_info("Unknown key %x pressed\n", code); pr_info("Unknown key code 0x%x\n", code);
} }
static void asus_wmi_notify(u32 value, void *context) static void asus_wmi_notify(u32 value, void *context)
......
Markdown is supported
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