summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Pu <dpu@nvidia.com>2014-06-12 12:36:36 +0800
committerHarry Hong <hhong@nvidia.com>2014-06-17 22:55:46 -0700
commiteb1074c438e25352e70cb7cc7ca4ac3b168be21d (patch)
treec32a92c75c720b512b1ffd53f5b772862d6b9045
parentf1ad2661295e91cc2e29188d0f8451d56e494d81 (diff)
input: touch: maxim:added 6s delay before touch_fusion.
added 6s delay to fork touch_fusion process to make sure hardware is ready before calibration. Bug 200006060 Change-Id: I6b24d2e4a7fa85165c76eb5badb7538e40021e7f Signed-off-by: David Pu <dpu@nvidia.com> Reviewed-on: http://git-master/r/423472 (cherry picked from commit 1abe1e63e61dc8f074fcd7eb8b28baaa3fa4a2ec) Reviewed-on: http://git-master/r/424451 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
-rw-r--r--drivers/input/touchscreen/maxim_sti.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/maxim_sti.c b/drivers/input/touchscreen/maxim_sti.c
index 3657cafba98a..a70c7f53fab2 100644
--- a/drivers/input/touchscreen/maxim_sti.c
+++ b/drivers/input/touchscreen/maxim_sti.c
@@ -1574,6 +1574,7 @@ static int processing_thread(void *arg)
sched_setscheduler(current, SCHED_FIFO, &dd->thread_sched);
+ msleep(6000);
while (!kthread_should_stop()) {
set_current_state(TASK_INTERRUPTIBLE);