msm_fb: [HDMI_COMPLIANCE] HW reset on HDCP reauthentication
We need to add a small delay before reading the AN0 and AN1
registers once they are ready, in order to avoid hardware
reset.
Change-Id: Iba9465ee83dce66ae99ab5885015d977d54c0612
CRs-fixed: 319542
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
diff --git a/drivers/video/msm/hdmi_msm.c b/drivers/video/msm/hdmi_msm.c
index 8a1d56e..1f24cea 100644
--- a/drivers/video/msm/hdmi_msm.c
+++ b/drivers/video/msm/hdmi_msm.c
@@ -2314,6 +2314,12 @@
goto error;
}
+ /*
+ * A small delay is needed here to avoid device crash observed
+ * during reauthentication in MSM8960
+ */
+ msleep(20);
+
/* 0x0168 HDCP_RCVPORT_DATA12
[23:8] BSTATUS
[7:0] BCAPS */