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

From: Dmitry Torokhov
Date: Fri Sep 04 2015 - 01:19:22 EST


Hi James,

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

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