projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eb8749
)
sony-laptop: fix scancode decode
author
Mattia Dongili
<malattia@linux.it>
Mon, 14 Jan 2008 09:05:46 +0000
(18:05 +0900)
committer
Len Brown
<len.brown@intel.com>
Thu, 24 Jan 2008 05:47:29 +0000
(
00:47
-0500)
compare against the sony_laptop specific event list index
to decode the input scancode to send.
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/sony-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/misc/sony-laptop.c
b/drivers/misc/sony-laptop.c
index 70d5cc5969aa5e0f140f822439c1ceee962af900..899e3f75f288dd853a50f61e9c15772ea3d60b01 100644
(file)
--- a/
drivers/misc/sony-laptop.c
+++ b/
drivers/misc/sony-laptop.c
@@
-315,7
+315,7
@@
static void sony_laptop_report_input_event(u8 event)
break;
default:
- if (event > ARRAY_SIZE
(sony_laptop_input_keycode_map
)) {
+ if (event > ARRAY_SIZE
(sony_laptop_input_index
)) {
dprintk("sony_laptop_report_input_event, event not known: %d\n", event);
break;
}