Skip to contentSkip to conversation

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

PATCH In review james.chen 2 participants 2 messages Sep 4, 2015

Subsystems (2)
lore
Share & tools
lore

james.chen

author
#0 lore raw

PATCH 1/1 MAINLINE: Input: elants_i2c: Extend the calibration timeout to 12 second.

From: "james.chen" <[email protected]>

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.

---
 drivers/input/touchscreen/elants_i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/touchscreen/elants_i2c.c +1 -1
index ddac134..17cc20e 100644
@@ -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
Signature · 1 line
1.8.3.2
maintainer
#1 lore raw

Hi James,

Quoted 8 lines · james.chen

From: "james.chen" <[email protected]>

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.

When submitting patches for mainline you do not need to follow ChromeOS format (i.e have MAINLINE/CHROMIUM prefix and have BUG/TEST tags).

I dropped them from the commit description and applied the patch.

Thanks!

Quoted 22 lines
---
 drivers/input/touchscreen/elants_i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/touchscreen/elants_i2c.c +1 -1
index ddac134..17cc20e 100644
@@ -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
Signature · 1 line
1.8.3.2
Signature · 1 line
Dmitry