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

Commit 0b8bba44 authored by Terence Hampson's avatar Terence Hampson
Browse files

mdss: mdp3: Remove extra call to clk_prepare



clk_prepare got moved inside mdp3_clk_update. Prior to this patch
unprepare would never be called successfully.

Change-Id: I28ab035b42d433f379d63748ac4f506a8575ea66
Signed-off-by: default avatarTerence Hampson <thampson@codeaurora.org>
parent 792ce78d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -700,7 +700,6 @@ int mdp3_get_mdp_dsi_clk(void)
	int rc;

	mutex_lock(&mdp3_res->res_mutex);
	clk_prepare(mdp3_res->clocks[MDP3_CLK_DSI]);
	rc = mdp3_clk_update(MDP3_CLK_DSI, 1);
	mutex_unlock(&mdp3_res->res_mutex);
	return rc;