Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c851d28b authored by poyewu's avatar poyewu
Browse files

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: default avatarpoyewu <poyewu@codeaurora.org>
parent d6a60b72
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;