Skip to content

Commit 80524f0

Browse files
kamalmostafadtor
authored andcommitted
Input: increase struct ps2dev cmdbuf[] to 8 bytes
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>
1 parent 02295e6 commit 80524f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/libps2.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct ps2dev {
3636
wait_queue_head_t wait;
3737

3838
unsigned long flags;
39-
unsigned char cmdbuf[6];
39+
unsigned char cmdbuf[8];
4040
unsigned char cmdcnt;
4141
unsigned char nak;
4242
};

0 commit comments

Comments
 (0)