Merge "msm: mdss: Enable clocks for WFD setup"
This commit is contained in:
commit
b42a5cc33b
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue