Merge "msm: mdss: Enable clocks for WFD setup"

This commit is contained in:
Linux Build Service Account 2017-09-06 12:55:55 -07:00 committed by Gerrit - the friendly Code Review server
commit b42a5cc33b

View file

@ -3191,11 +3191,14 @@ int mdss_mdp_layer_atomic_validate_wfd(struct msm_fb_data_type *mfd,
goto validate_failed; goto validate_failed;
} }
mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_ON);
rc = mdss_mdp_wfd_setup(wfd, output_layer); rc = mdss_mdp_wfd_setup(wfd, output_layer);
if (rc) { if (rc) {
pr_err("fail to prepare wfd = %d\n", rc); pr_err("fail to prepare wfd = %d\n", rc);
mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_OFF);
goto validate_failed; goto validate_failed;
} }
mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_OFF);
rc = mdss_mdp_layer_atomic_validate(mfd, file, commit); rc = mdss_mdp_layer_atomic_validate(mfd, file, commit);
if (rc) { if (rc) {