From 655567cad9234701704192050d2fbf2b11e55803 Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Tue, 29 Jan 2013 08:41:36 -0500 Subject: Backport driver for Cypress PS/2 trackpad (rhbz 799564) --- ...-increase-struct-ps2dev-cmdbuf-to-8-bytes.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Input-increase-struct-ps2dev-cmdbuf-to-8-bytes.patch (limited to 'Input-increase-struct-ps2dev-cmdbuf-to-8-bytes.patch') diff --git a/Input-increase-struct-ps2dev-cmdbuf-to-8-bytes.patch b/Input-increase-struct-ps2dev-cmdbuf-to-8-bytes.patch new file mode 100644 index 000000000..c3548aa07 --- /dev/null +++ b/Input-increase-struct-ps2dev-cmdbuf-to-8-bytes.patch @@ -0,0 +1,30 @@ +From 80524f083e2c3e70057f5bb476db92baa14cb22b Mon Sep 17 00:00:00 2001 +From: Kamal Mostafa +Date: Tue, 20 Nov 2012 23:04:35 -0800 +Subject: [PATCH] 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 +Signed-off-by: Dmitry Torokhov +--- + include/linux/libps2.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/include/linux/libps2.h b/include/linux/libps2.h +index 79603a6..4ad06e8 100644 +--- 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; + }; +-- +1.7.7.6 + -- cgit