msm: mdss: initialize shadow clocks regardless DFPS modes
Since DFPS mode can be dynamically configured through device node, shadow clocks used by DFPS clk mode need to be initialized during boot time regardless the default DFPS mode specified in device tree. Change-Id: I580a05ed62a2207666ea6569abbdf588a4f8d39d Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org> Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
This commit is contained in:
parent
35a90bda10
commit
d5e799932a
1 changed files with 2 additions and 6 deletions
|
@ -2639,14 +2639,10 @@ static int mdss_dsi_ctrl_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
pinfo = &(ctrl_pdata->panel_data.panel_info);
|
||||
if (pinfo->dynamic_fps &&
|
||||
pinfo->dfps_update == DFPS_IMMEDIATE_CLK_UPDATE_MODE) {
|
||||
if (mdss_dsi_shadow_clk_init(pdev, ctrl_pdata)) {
|
||||
if (pinfo->dynamic_fps)
|
||||
if (mdss_dsi_shadow_clk_init(pdev, ctrl_pdata))
|
||||
pr_err("%s: unable to initialize shadow ctrl clks\n",
|
||||
__func__);
|
||||
return -EPERM;
|
||||
}
|
||||
}
|
||||
|
||||
rc = mdss_dsi_set_clk_rates(ctrl_pdata);
|
||||
if (rc) {
|
||||
|
|
Loading…
Add table
Reference in a new issue