aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Chen <james.chen@emc.com.tw>2015-09-04 01:12:38 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-09-04 02:37:10 -0400
commit22c15e5e008297c90daa8657fea1a3f0e0675454 (patch)
treeacbb10d4db7690f7736e58f41d32cb7892366d67
parent26492f195eed08b95ad5acdfbe625062ad7d86c6 (diff)
Input: elants_i2c - extend the calibration timeout to 12 seconds
The 23 inch device found in Chrome project buddy requires 9.2~10.5 seconds to complete calibration. Let's increase calibration timeout to 12 seconds to give the device enough time. Signed-off-by: James Chen <james.chen@emc.com.tw> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--drivers/input/touchscreen/elants_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c
index ddac134b25b1..17cc20ef4923 100644
--- a/drivers/input/touchscreen/elants_i2c.c
+++ b/drivers/input/touchscreen/elants_i2c.c
@@ -102,7 +102,7 @@
102#define ELAN_FW_PAGESIZE 132 102#define ELAN_FW_PAGESIZE 132
103 103
104/* calibration timeout definition */ 104/* calibration timeout definition */
105#define ELAN_CALI_TIMEOUT_MSEC 10000 105#define ELAN_CALI_TIMEOUT_MSEC 12000
106 106
107#define ELAN_POWERON_DELAY_USEC 500 107#define ELAN_POWERON_DELAY_USEC 500
108#define ELAN_RESET_DELAY_MSEC 20 108#define ELAN_RESET_DELAY_MSEC 20