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

Commit 863a7de4 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: dsi: ensure clocks are off when setting their source"

parents 48f33c48 6121c70b
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1304,14 +1304,14 @@ int mdss_dsi_on(struct mdss_panel_data *pdata)
		goto end;
	}

	ret = mdss_dsi_set_clk_src(ctrl_pdata);
	if (ret) {
		pr_err("%s: failed to set clk src. rc=%d\n", __func__, ret);
	if (mdss_panel_is_power_on(cur_power_state)) {
		pr_debug("%s: dsi_on from panel low power state\n", __func__);
		goto end;
	}

	if (mdss_panel_is_power_on(cur_power_state)) {
		pr_debug("%s: dsi_on from panel low power state\n", __func__);
	ret = mdss_dsi_set_clk_src(ctrl_pdata);
	if (ret) {
		pr_err("%s: failed to set clk src. rc=%d\n", __func__, ret);
		goto end;
	}