summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Salido-Moreno <adrianm@codeaurora.org>2013-01-10 18:36:29 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:14:07 -0700
commitea8525ae4663fe9e030ac43381ce3e7c467a2f05 (patch)
tree30d1ef5d5556608d8ce420f428b73d28b5995070
parentb1d30870745a1b403e69d69cf032789272640c54 (diff)
msm: mdss: change MDP early suspend level
The early suspend level is used to order how different listeners are notified about suspend/resume events. MDP should be suspended at latest point after FB has been blanked to ensure there are no updates coming after suspend or before resume. CRs-Fixed: 439900 Change-Id: I9122f4bbc08d391d6581750592d0513c5afbfd9a Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp.c b/drivers/video/fbdev/msm/mdss_mdp.c
index 6fc95b63b0c9..759c4e2a62f6 100644
--- a/drivers/video/fbdev/msm/mdss_mdp.c
+++ b/drivers/video/fbdev/msm/mdss_mdp.c
@@ -1,7 +1,7 @@
/*
* MDSS MDP Interface (used by framebuffer core)
*
- * Copyright (c) 2007-2012, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2007-2013, The Linux Foundation. All rights reserved.
* Copyright (C) 2007 Google Incorporated
*
* This software is licensed under the terms of the GNU General Public
@@ -1091,7 +1091,7 @@ static int mdss_mdp_register_early_suspend(struct mdss_data_type *mdata)
{
mdata->early_suspend.suspend = mdss_mdp_early_suspend;
mdata->early_suspend.resume = mdss_mdp_late_resume;
- mdata->early_suspend.level = EARLY_SUSPEND_LEVEL_BLANK_SCREEN;
+ mdata->early_suspend.level = EARLY_SUSPEND_LEVEL_DISABLE_FB;
register_early_suspend(&mdata->early_suspend);
return 0;