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

Commit 2ac11378 authored by Pawan Kumar's avatar Pawan Kumar
Browse files

msm: mdss: Fix mdss_dsi_cmd_mdp_busy timeout error



Make MDSS clock ON before sending DCS command  to fix
mdss_dsi_cmd_mdp_busy timeout error.

Change-Id: I78a5931715f7a8803af77cd43c6191c225bcecd8
Signed-off-by: default avatarPawan Kumar <pavaku@codeaurora.org>
parent 61eeadff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -491,14 +491,14 @@ int mdss_mdp_cmd_kickoff(struct mdss_mdp_ctl *ctl, void *arg)

	mdss_mdp_cmd_set_partial_roi(ctl);

	mdss_mdp_cmd_clk_on(ctx);

	/*
	 * tx dcs command if had any
	 */
	mdss_mdp_ctl_intf_event(ctl, MDSS_EVENT_DSI_CMDLIST_KOFF,
						(void *)&ctx->recovery);

	mdss_mdp_cmd_clk_on(ctx);

	INIT_COMPLETION(ctx->pp_comp);
	mdss_mdp_irq_enable(MDSS_MDP_IRQ_PING_PONG_COMP, ctx->pp_num);
	mdss_mdp_ctl_write(ctl, MDSS_MDP_REG_CTL_START, 1);