diff options
| author | Aravind Venkateswaran <aravindh@codeaurora.org> | 2013-04-12 14:14:19 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:16:06 -0700 |
| commit | f079aa25074845d34c8721ded81856ac3ddf4dbf (patch) | |
| tree | 6b4cea7968fcac263100bb305ec1d4b20c517c07 | |
| parent | 1ed47b3bcacb687b5e8143d4ad3fbbfbae719b99 (diff) | |
mdss: hdmi: Correct wait time during HDCP authentication part II
During HDCP authentication part II, the source device
is required to wait for up to five seconds for the
assertion of the READY bit from the downstream repeater.
Fix a bug in the current implementation to ensure that
we adhere to this specification.
CRs-Fixed: 463003
Change-Id: Ic90b1f6e4fb764e9b337cc1d06a92da4fe35004a
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_hdmi_hdcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_hdmi_hdcp.c b/drivers/video/fbdev/msm/mdss_hdmi_hdcp.c index 2e2078780058..ef172293f958 100644 --- a/drivers/video/fbdev/msm/mdss_hdmi_hdcp.c +++ b/drivers/video/fbdev/msm/mdss_hdmi_hdcp.c @@ -618,7 +618,7 @@ static int hdmi_hdcp_authentication_part2(struct hdmi_hdcp_ctrl *hdcp_ctrl) /* Wait until READY bit is set in BCAPS */ timeout_count = 50; - while (!(bcaps && BIT(5)) && timeout_count) { + while (!(bcaps & BIT(5)) && timeout_count) { msleep(100); timeout_count--; /* Read BCAPS at offset 0x40 */ |
