From 3fee717f42e025527787c7ac28f1c400e475d07c Mon Sep 17 00:00:00 2001 From: Greg Meiste Date: Thu, 2 Sep 2010 11:03:30 -0500 Subject: [PATCH] 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 --- drivers/input/touchscreen/qtouch_obp_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1