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

Commit a48b8eaf authored by Aravind Venkateswaran's avatar Aravind Venkateswaran
Browse files

disp: msm: dp: delay hotplug connect notification



Delay the hotplug connect notification to check for any test
requests issued by the sink. This will avoid unwanted connection
event callbacks.

CRs-Fixed: 2565704
Change-Id: Id7a04dbbb5ad5b86c3791ac2db5de2c92e98fc46
Signed-off-by: default avatarAravind Venkateswaran <aravindh@codeaurora.org>
parent 6d35ff52
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -965,6 +965,12 @@ static int dp_display_process_hpd_high(struct dp_display_private *dp)
end:
	mutex_unlock(&dp->session_lock);

	/*
	 * Delay the HPD connect notification to see if sink generates any
	 * IRQ HPDs immediately after the HPD high.
	 */
	usleep_range(10000, 10100);

	/*
	 * If an IRQ HPD is pending, then do not send a connect notification.
	 * Once this work returns, the IRQ HPD would be processed and any