summaryrefslogtreecommitdiff
path: root/msm/dp/dp_display.c
diff options
context:
space:
mode:
authorAravind Venkateswaran <aravindh@codeaurora.org>2019-11-19 17:35:06 -0800
committerAravind Venkateswaran <aravindh@codeaurora.org>2019-12-13 22:13:45 -0800
commita48b8eaf6ffeb246aa275a40404ae2940af973b8 (patch)
treefe2da72be31350813e504f12d1d8e18cfb4bf0c2 /msm/dp/dp_display.c
parent6d35ff523e9dd00e831f545d95f2adccce0aa5d1 (diff)
downloaddisplay-drivers-a48b8eaf6ffeb246aa275a40404ae2940af973b8.tar.gz
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: Aravind Venkateswaran <aravindh@codeaurora.org>
Diffstat (limited to 'msm/dp/dp_display.c')
-rw-r--r--msm/dp/dp_display.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/msm/dp/dp_display.c b/msm/dp/dp_display.c
index df7657db..fed76a7c 100644
--- a/msm/dp/dp_display.c
+++ b/msm/dp/dp_display.c
@@ -966,6 +966,12 @@ 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
* required actions (such as link maintenance) would be done which