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

Commit 6c5914c6 authored by Terence Hampson's avatar Terence Hampson
Browse files

mdp3: Increase timeout to determine ppp core hung



We were seeing in some corner cases were 40ms was not enough
to complete a ppp request.

Change-Id: Ie2a95bceeddb2f4cf49f6497a449e0755fc36ce7
Signed-off-by: default avatarTerence Hampson <thampson@codeaurora.org>
parent 219364c5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -272,11 +272,11 @@ int mdp3_ppp_pipe_wait(void)
	int ret = 1;

	/*
	 * wait 40 ms for ppp operation to complete before declaring
	 * wait 200 ms for ppp operation to complete before declaring
	 * the MDP hung
	 */
	ret = wait_for_completion_timeout(
	  &ppp_stat->ppp_comp, msecs_to_jiffies(40));
	  &ppp_stat->ppp_comp, msecs_to_jiffies(200));
	if (!ret)
		pr_err("%s: Timed out waiting for the MDP.\n",
			__func__);