projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1a9c69
)
platform/x86: asus-wmi: Update unknown code message
author
Luca Stefani
<luca.stefani.ge1@gmail.com>
Fri, 6 May 2022 12:25:35 +0000
(14:25 +0200)
committer
Hans de Goede
<hdegoede@redhat.com>
Thu, 12 May 2022 13:35:29 +0000
(15:35 +0200)
Prepend 0x to the actual key code to specify it
is already an hex value
Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Link:
https://lore.kernel.org/r/20220506122536.113566-1-luca.stefani.ge1@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/asus-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/asus-wmi.c
b/drivers/platform/x86/asus-wmi.c
index
9dc511f
..
62ce198
100644
(file)
--- a/
drivers/platform/x86/asus-wmi.c
+++ b/
drivers/platform/x86/asus-wmi.c
@@
-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,
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)