diff mbox

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

Message ID 1441337217-1351-1-git-send-email-james.chen@emc.com.tw (mailing list archive)
State New, archived
Headers show

Commit Message

james.chen Sept. 4, 2015, 3:26 a.m. UTC
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(-)

Comments

Dmitry Torokhov Sept. 4, 2015, 5:19 a.m. UTC | #1
Hi James,

On Fri, Sep 04, 2015 at 11:26:57AM +0800, james.chen wrote:
> 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.

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!

> 
> 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
>
diff mbox

Patch

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