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.

Change-Id: Id7a04dbbb5ad5b86c3791ac2db5de2c92e98fc46
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
This commit is contained in:
Aravind Venkateswaran
2019-11-19 17:35:06 -08:00
zatwierdzone przez Tatenda Chipeperekwa
rodzic d8be39e02b
commit 47cc800aff

Wyświetl plik

@@ -1008,6 +1008,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