From cb4d366c3011e14010e5d733531b6a21f02129e3 Mon Sep 17 00:00:00 2001 From: Fei Yang Date: Thu, 8 Sep 2011 13:30:34 -0700 Subject: [PATCH] CYTTSP: I2C read errors are seen during boot time when initializing touchscreen. Problem is that CY_DELAY_SYSINFO is not accurately defined. Making the delay 30ms to avoid I2C read error. Need to revisit when hardware specification is available. Change-Id: I44f408212d698524ce7603b85df18260d859b21f Signed-off-by: Fei Yang --- drivers/input/touchscreen/cyttsp_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/cyttsp_core.c b/drivers/input/touchscreen/cyttsp_core.c index bf2de56..84f97f0 100644 --- a/drivers/input/touchscreen/cyttsp_core.c +++ b/drivers/input/touchscreen/cyttsp_core.c @@ -126,7 +126,7 @@ #define CY_MAXZ 255 #define CY_INIT 1 #define CY_DELAY_DFLT 10 /* ms */ -#define CY_DELAY_SYSINFO 20 /* ms */ +#define CY_DELAY_SYSINFO 30 /* ms */ #define CY_DELAY_BL 300 #define CY_DELAY_DNLOAD 100 /* ms */ #define CY_HNDSHK_BIT 0x80 -- 2.7.4