Browse Source

disp: msm: dp: wait for sink to stabilize during hdcp

Some sinks need more time to stabilize after synchronization and
before it can handle an HDCP authentication request.
This change adds the delay for better interoperability.

Change-Id: I4fffb9024f782dd68e3a883208cb8e9d0c5350a1
Signed-off-by: poyewu <[email protected]>
poyewu 5 years ago
parent
commit
c851d28bca
1 changed files with 6 additions and 0 deletions
  1. 6 0
      msm/dp/dp_display.c

+ 6 - 0
msm/dp/dp_display.c

@@ -426,6 +426,12 @@ static int dp_display_hdcp_process_sink_sync(struct dp_display_private *dp)
 			queue_delayed_work(dp->wq, &dp->hdcp_cb_work, HZ);
 			return -EAGAIN;
 		}
+		/*
+		 * Some sinks need more time to stabilize after synchronization
+		 * and before it can handle an HDCP authentication request.
+		 * Adding the delay for better interoperability.
+		 */
+		msleep(6000);
 	}
 
 	return 0;