projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92e963f
)
intel-hid: fix incorrect entries in intel_hid_keymap
author
Alex Hung
<alex.hung@canonical.com>
Wed, 27 Jan 2016 13:35:00 +0000
(21:35 +0800)
committer
Darren Hart
<dvhart@linux.intel.com>
Sat, 30 Jan 2016 17:10:25 +0000
(09:10 -0800)
intel_hid_keymap contains a duplicate entry for KEY_HOME and an
incorrect HID index for KEY_PAGEDOWN
Reported-by: Pavel Bludov <pbludov@gmail.com>
Signed-off-by: Alex Hung <alex.hung@canonical.com>
drivers/platform/x86/intel-hid.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/intel-hid.c
b/drivers/platform/x86/intel-hid.c
index 20f0ad9bb9f373efedfdf42de3af7da5321f21a6..e20f23e04c24ce8071ea03ea238b5a1a765d70ff 100644
(file)
--- a/
drivers/platform/x86/intel-hid.c
+++ b/
drivers/platform/x86/intel-hid.c
@@
-41,8
+41,7
@@
static const struct key_entry intel_hid_keymap[] = {
{ KE_KEY, 4, { KEY_HOME } },
{ KE_KEY, 5, { KEY_END } },
{ KE_KEY, 6, { KEY_PAGEUP } },
- { KE_KEY, 4, { KEY_PAGEDOWN } },
- { KE_KEY, 4, { KEY_HOME } },
+ { KE_KEY, 7, { KEY_PAGEDOWN } },
{ KE_KEY, 8, { KEY_RFKILL } },
{ KE_KEY, 9, { KEY_POWER } },
{ KE_KEY, 11, { KEY_SLEEP } },