input: qtouch: Change suspend level
authorGreg Meiste <w30289@motorola.com>
Thu, 2 Sep 2010 16:03:30 +0000 (11:03 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:50:58 +0000 (16:50 -0700)
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 <w30289@motorola.com>
drivers/input/touchscreen/qtouch_obp_ts.c

index e17ebd2a6748bf9d5f102d73d28558b7902fb5ad..3f47ee7e7d5ca5749589b7ac159cf1673914d037 100644 (file)
@@ -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);