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

Commit f93d7806 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: Change wait_for_completion to timeout in MDSS DSI driver"

parents dcf37c9b 589017b8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1751,7 +1751,9 @@ void mdss_dsi_cmd_mdp_busy(struct mdss_dsi_ctrl_pdata *ctrl)
		/* wait until DMA finishes the current job */
		pr_debug("%s: pending pid=%d\n",
				__func__, current->pid);
		wait_for_completion(&ctrl->mdp_comp);
		if (!wait_for_completion_timeout(&ctrl->mdp_comp,
					msecs_to_jiffies(DMA_TX_TIMEOUT)))
			pr_err("%s: timeout error\n", __func__);
	}
	pr_debug("%s: done pid=%d\n",
				__func__, current->pid);