OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02295e6
)
Input: increase struct ps2dev cmdbuf[] to 8 bytes
author
Kamal Mostafa
<kamal@canonical.com>
Wed, 21 Nov 2012 07:04:35 +0000
(23:04 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Sun, 6 Jan 2013 09:11:25 +0000
(
01:11
-0800)
Cypress PS/2 Trackpad (drivers/input/mouse/cypress_ps2.c) needs
this larger cmdbuf[] to handle 8-byte packet responses.
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
include/linux/libps2.h
patch
|
blob
|
history
diff --git
a/include/linux/libps2.h
b/include/linux/libps2.h
index
79603a6
..
4ad06e8
100644
(file)
--- a/
include/linux/libps2.h
+++ b/
include/linux/libps2.h
@@
-36,7
+36,7
@@
struct ps2dev {
wait_queue_head_t wait;
unsigned long flags;
- unsigned char cmdbuf[
6
];
+ unsigned char cmdbuf[
8
];
unsigned char cmdcnt;
unsigned char nak;
};