2ab3c91
From 80524f083e2c3e70057f5bb476db92baa14cb22b Mon Sep 17 00:00:00 2001
2ab3c91
From: Kamal Mostafa <kamal@canonical.com>
2ab3c91
Date: Tue, 20 Nov 2012 23:04:35 -0800
2ab3c91
Subject: [PATCH] Input: increase struct ps2dev cmdbuf[] to 8 bytes
2ab3c91
2ab3c91
Cypress PS/2 Trackpad (drivers/input/mouse/cypress_ps2.c) needs
2ab3c91
this larger cmdbuf[] to handle 8-byte packet responses.
2ab3c91
2ab3c91
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
2ab3c91
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2ab3c91
---
2ab3c91
 include/linux/libps2.h |    2 +-
2ab3c91
 1 files changed, 1 insertions(+), 1 deletions(-)
2ab3c91
2ab3c91
diff --git a/include/linux/libps2.h b/include/linux/libps2.h
2ab3c91
index 79603a6..4ad06e8 100644
2ab3c91
--- a/include/linux/libps2.h
2ab3c91
+++ b/include/linux/libps2.h
2ab3c91
@@ -36,7 +36,7 @@ struct ps2dev {
2ab3c91
 	wait_queue_head_t wait;
2ab3c91
 
2ab3c91
 	unsigned long flags;
2ab3c91
-	unsigned char cmdbuf[6];
2ab3c91
+	unsigned char cmdbuf[8];
2ab3c91
 	unsigned char cmdcnt;
2ab3c91
 	unsigned char nak;
2ab3c91
 };
2ab3c91
-- 
2ab3c91
1.7.7.6
2ab3c91