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

Commit cd55b5ec authored by Chandan Uddaraju's avatar Chandan Uddaraju Committed by Narendra Muppalla
Browse files

mdss: display-port: fix Display-port disable sequence



Fix the OFF path for display-port driver when cable is
disconnected. Check for link clock status before accessing
any of the mainlink registers. Use common mutex for
DP_ON and DP_OFF sequence. Remove the resource vote
when PLL is diabled.

Change-Id: I9b81f79043b4ea7355b99ba9d8347d79bed10153
Signed-off-by: default avatarChandan Uddaraju <chandanu@codeaurora.org>
Signed-off-by: default avatarNarendra Muppalla <narendram@codeaurora.org>
parent 50580378
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -583,8 +583,10 @@ int dp_vco_prepare(struct clk *c)
		mdss_pll_resource_enable(dp_pll_res, false);
		pr_err("ndx=%d failed to enable dsi pll\n",
					dp_pll_res->index);
		goto error;
	}

	mdss_pll_resource_enable(dp_pll_res, false);
error:
	return rc;
}