From: Greg Meiste Date: Thu, 2 Sep 2010 16:03:30 +0000 (-0500) Subject: input: qtouch: Change suspend level X-Git-Tag: firefly_0821_release~9834^2~592 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3fee717f42e025527787c7ac28f1c400e475d07c;p=firefly-linux-kernel-4.4.55.git input: qtouch: Change suspend level Touch should be disabled after the display is suspended and enabled before the display is resumed. Resuming after the display can cause touch to stop functioning. Change-Id: Ib9861b325994ebfbf3e93554aaa86747f7bde469 Signed-off-by: Greg Meiste --- diff --git a/drivers/input/touchscreen/qtouch_obp_ts.c b/drivers/input/touchscreen/qtouch_obp_ts.c index e17ebd2a6748..3f47ee7e7d5c 100644 --- a/drivers/input/touchscreen/qtouch_obp_ts.c +++ b/drivers/input/touchscreen/qtouch_obp_ts.c @@ -1833,7 +1833,7 @@ finish_touch_setup: } #ifdef CONFIG_HAS_EARLYSUSPEND - ts->early_suspend.level = EARLY_SUSPEND_LEVEL_BLANK_SCREEN + 1; + ts->early_suspend.level = EARLY_SUSPEND_LEVEL_DISABLE_FB + 1; ts->early_suspend.suspend = qtouch_ts_early_suspend; ts->early_suspend.resume = qtouch_ts_late_resume; register_early_suspend(&ts->early_suspend);