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

Commit a4172f92 authored by Tatenda Chipeperekwa's avatar Tatenda Chipeperekwa Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/dp: increase connect/disconnect notification timeout



Increase the connect/disconnect notification timeout from 2 seconds
to 5 seconds in order to account for processing delays in the
user mode stack.

CRs-Fixed: 2116863
Change-Id: I5cb97c98471fac4d42f590e5642fe0a34e238b00
Signed-off-by: default avatarTatenda Chipeperekwa <tatendac@codeaurora.org>
parent 5bc5bb65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -448,7 +448,7 @@ static int dp_display_send_hpd_notification(struct dp_display_private *dp,
	reinit_completion(&dp->notification_comp);
	drm_helper_hpd_irq_event(dp->dp_display.connector->dev);

	if (!wait_for_completion_timeout(&dp->notification_comp, HZ * 2)) {
	if (!wait_for_completion_timeout(&dp->notification_comp, HZ * 5)) {
		pr_warn("%s timeout\n", hpd ? "connect" : "disconnect");
		return -EINVAL;
	}