Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1218669

[PATCH] MAINLINE: Input: elants_i2c: Extend the calibration timeout to 12 second.

From "james.chen" <james.chen@emc.com.tw>
Newsgroups linux.kernel
Subject [PATCH] MAINLINE: Input: elants_i2c: Extend the calibration timeout to 12 second.
Date 2015-09-04 05:50 +0200
Message-ID <q4QaJ-75R-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: "james.chen" <james.chen@emc.com.tw>

As the test result of chrome project buddy(23 inch),
the calibration time is about 9.2~10.5 second.
So, this patch extend the calibration timeout to 12 second.

BUG= none
TEST= Build and test on buddy project.

Signed-off-by: James Chen <james.chen@emc.com.tw>
---
 drivers/input/touchscreen/elants_i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c
index ddac134..17cc20e 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
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] MAINLINE: Input: elants_i2c: Extend the calibration timeout to 12 second. "james.chen" <james.chen@emc.com.tw> - 2015-09-04 05:50 +0200
  Re: [PATCH] MAINLINE: Input: elants_i2c: Extend the calibration  timeout to 12 second. Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-09-04 07:20 +0200

csiph-web