Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c44f42c1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: initialize shadow clocks regardless DFPS modes"

parents c57441e3 9076c7f5
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -2637,14 +2637,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) {