From: "james.chen" <james.chen@emc.com.tw>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Herman Lin <herman.lin@emc.com.tw>,
linux-kernel@vger.kernel.org, linux-input@vger.kernel.org
Cc: Charlie Mooney <charliemooney@chromium.org>,
"james.chen" <james.chen@emc.com.tw>
Subject: [PATCH] MAINLINE: Input: elants_i2c: Extend the calibration timeout to 12 second.
Date: Fri, 4 Sep 2015 11:26:57 +0800 [thread overview]
Message-ID: <1441337217-1351-1-git-send-email-james.chen@emc.com.tw> (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
next reply other threads:[~2015-09-04 3:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-04 3:26 james.chen [this message]
2015-09-04 5:19 ` [PATCH] MAINLINE: Input: elants_i2c: Extend the calibration timeout to 12 second Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441337217-1351-1-git-send-email-james.chen@emc.com.tw \
--to=james.chen@emc.com.tw \
--cc=charliemooney@chromium.org \
--cc=dmitry.torokhov@gmail.com \
--cc=herman.lin@emc.com.tw \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).