Skip to content

Commit

Permalink
Input: increase struct ps2dev cmdbuf[] to 8 bytes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kamal Mostafa authored and Dmitry Torokhov committed Jan 6, 2013
1 parent 02295e6 commit 80524f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/libps2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 80524f0

Please sign in to comment.