Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
c851d28bca
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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;