msm_fb: Removing HDCP timedout error.

DEBUG mode added delay after writing RO's to RCVPORT, leading to
HDCP AUthentication Sucess Interrupt coming before INIT_COMPLETION
call. Re-arranging INIT_COMPLETION code before writng RO's resolved
the issue.

CRs-Fixed: 325564

Change-Id: I6d21103d049bf22d3a09aeeafab1a50119597d7e
Signed-off-by: Abhishek Kharbanda <akharban@codeaurora.org>
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 ffa4a1c..bc32008 100644
--- a/drivers/video/msm/hdmi_msm.c
+++ b/drivers/video/msm/hdmi_msm.c
@@ -2525,12 +2525,12 @@
 			goto error;
 		}
 
+		DEV_DBG("HDCP: R0'=%02x%02x\n", buf[1], buf[0]);
+		INIT_COMPLETION(hdmi_msm_state->hdcp_success_done);
 		/* 0x013C HDCP_RCVPORT_DATA2_0
 		[15:0] LINK0_RI */
 		HDMI_OUTP(0x013C, (((uint32)buf[1]) << 8) | buf[0]);
-		DEV_DBG("HDCP: R0'=%02x%02x\n", buf[1], buf[0]);
 
-		INIT_COMPLETION(hdmi_msm_state->hdcp_success_done);
 		timeout_count = wait_for_completion_interruptible_timeout(
 			&hdmi_msm_state->hdcp_success_done, HZ*2);