projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c08f208
)
asus-nb-wmi: ignore useless keys
author
Corentin Chary
<corentincj@iksaif.net>
Tue, 20 Mar 2012 08:53:02 +0000
(09:53 +0100)
committer
Matthew Garrett
<mjg@redhat.com>
Mon, 26 Mar 2012 19:05:31 +0000
(15:05 -0400)
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/asus-nb-wmi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/asus-nb-wmi.c
b/drivers/platform/x86/asus-nb-wmi.c
index b0859d4183e8307d27ef9c3979bf613d4548c603..350112736023df3b107e00c81d88a6fafe3b821d 100644
(file)
--- a/
drivers/platform/x86/asus-nb-wmi.c
+++ b/
drivers/platform/x86/asus-nb-wmi.c
@@
-70,6
+70,8
@@
static const struct key_entry asus_nb_wmi_keymap[] = {
{ KE_KEY, 0x50, { KEY_EMAIL } },
{ KE_KEY, 0x51, { KEY_WWW } },
{ KE_KEY, 0x55, { KEY_CALC } },
+ { KE_IGNORE, 0x57, }, /* Battery mode */
+ { KE_IGNORE, 0x58, }, /* AC mode */
{ KE_KEY, 0x5C, { KEY_F15 } }, /* Power Gear key */
{ KE_KEY, 0x5D, { KEY_WLAN } }, /* Wireless console Toggle */
{ KE_KEY, 0x5E, { KEY_WLAN } }, /* Wireless console Enable */