Commit 80524f08 authored by Kamal Mostafa's avatar Kamal Mostafa Committed by Dmitry Torokhov

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: default avatarKamal Mostafa <kamal@canonical.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 02295e68
...@@ -36,7 +36,7 @@ struct ps2dev { ...@@ -36,7 +36,7 @@ struct ps2dev {
wait_queue_head_t wait; wait_queue_head_t wait;
unsigned long flags; unsigned long flags;
unsigned char cmdbuf[6]; unsigned char cmdbuf[8];
unsigned char cmdcnt; unsigned char cmdcnt;
unsigned char nak; unsigned char nak;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment