summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Pu <dpu@nvidia.com>2014-06-12 12:36:36 +0800
committerGabby Lee <galee@nvidia.com>2014-06-14 05:54:48 -0700
commit1abe1e63e61dc8f074fcd7eb8b28baaa3fa4a2ec (patch)
treeeb397672c4a07709d46417600c4feb8dbac80fa6
parentefa282dc48a4c3a2437fa79d1767c357af8fd7ca (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 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@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);