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

Commit 48b0c8c2 authored by Manoj Kumar AVM's avatar Manoj Kumar AVM
Browse files

msm: ext_display: increase timeout value to 5 seconds



For targets not having a HAL component, a userspace testapp has
to be manually run to trigger a frame update which will in-turn
trigger the unblank sequence.
This testapp needs to be run within the specified timeout value
of the hpd_comp. Current value of 2 seconds is not enough and
causes false errors and subsequent failures.

Increase timeout value to 5 seconds to avoid false timeouts for
no framework cases.

CRs-Fixed: 1115561
Change-Id: I14f64f781c19268510128f5fa819e7fd0d33c78b
Signed-off-by: default avatarManoj Kumar AVM <manojavm@codeaurora.org>
parent 2aa89ab3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -381,7 +381,7 @@ static int msm_ext_disp_process_display(struct msm_ext_disp *ext_disp,
	}

	reinit_completion(&ext_disp->hpd_comp);
	ret = wait_for_completion_timeout(&ext_disp->hpd_comp, HZ * 2);
	ret = wait_for_completion_timeout(&ext_disp->hpd_comp, HZ * 5);
	if (!ret) {
		pr_err("display timeout\n");
		ret = -EINVAL;