summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Chen2015-09-04 07:12:38 +0200
committerDmitry Torokhov2015-09-04 08:37:10 +0200
commit22c15e5e008297c90daa8657fea1a3f0e0675454 (patch)
treeacbb10d4db7690f7736e58f41d32cb7892366d67
parentInput: sparcspkr - fix module autoload for OF platform drivers (diff)
downloadkernel-qcow2-linux-22c15e5e008297c90daa8657fea1a3f0e0675454.tar.gz
kernel-qcow2-linux-22c15e5e008297c90daa8657fea1a3f0e0675454.tar.xz
kernel-qcow2-linux-22c15e5e008297c90daa8657fea1a3f0e0675454.zip
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 @@
#define ELAN_FW_PAGESIZE 132
/* calibration timeout definition */
-#define ELAN_CALI_TIMEOUT_MSEC 10000
+#define ELAN_CALI_TIMEOUT_MSEC 12000
#define ELAN_POWERON_DELAY_USEC 500
#define ELAN_RESET_DELAY_MSEC 20