Input: increase struct ps2dev cmdbuf[] to 8 bytes
authorKamal Mostafa <kamal@canonical.com>
Wed, 21 Nov 2012 07:04:35 +0000 (23:04 -0800)
committerDmitry 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

index 79603a6c356fb5dd28f2bddf27bceafbf263c7d2..4ad06e824f76f797250b7cef01ac5932ffa7452b 100644 (file)
@@ -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;
 };