Merge "msm: mdss: fix pp timeout during transition from LP1 to power on"

This commit is contained in:
Linux Build Service Account 2016-11-11 07:44:50 -08:00 committed by Gerrit - the friendly Code Review server
commit fb308c0002
1 changed files with 5 additions and 3 deletions

View File

@ -2909,9 +2909,11 @@ int mdss_mdp_ctl_start(struct mdss_mdp_ctl *ctl, bool handoff)
return 0;
}
ret = mdss_mdp_ctl_setup(ctl);
if (ret)
return ret;
if (mdss_mdp_ctl_is_power_off(ctl)) {
ret = mdss_mdp_ctl_setup(ctl);
if (ret)
return ret;
}
sctl = mdss_mdp_get_split_ctl(ctl);