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 năm trước cách đây
mục cha
commit
c851d28bca
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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;