From ea8525ae4663fe9e030ac43381ce3e7c467a2f05 Mon Sep 17 00:00:00 2001 From: Adrian Salido-Moreno Date: Thu, 10 Jan 2013 18:36:29 -0800 Subject: 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 --- drivers/video/fbdev/msm/mdss_mdp.c | 4 ++-- 1 file 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; -- cgit v1.2.3