summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSandor Yu <Sandor.yu@nxp.com>2019-09-20 15:27:34 +0800
committerSandor Yu <Sandor.yu@nxp.com>2019-09-23 10:48:35 +0800
commitfaa26e47f1bf4dd03787c3677aa8aa70acaad128 (patch)
tree5dcc87d425d6e7f9b9d9ec8b4f14c21931ad9647 /drivers/video
parentb433aae16175a81a1efe256c10d2361bdb20f6af (diff)
MLK-22084: fbdev: hdmi: Fix HDCP function failed work with Sony TV
HDCP function could work in other TVs but it failed with Sony TV when run hdcp enable/disable stress test. The TMDS clock is not detected by Sony TV. The TV seems time sensitive for HDMI TMDS. Add 20ms delay before TMDS enable make it work. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> (cherry picked from commit cb8a41d3cce444ba9e7044637ab4499caf65799e)
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/mxc/mxc_hdmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/fbdev/mxc/mxc_hdmi.c b/drivers/video/fbdev/mxc/mxc_hdmi.c
index 6bb39f9795d1..0634669dfbd8 100644
--- a/drivers/video/fbdev/mxc/mxc_hdmi.c
+++ b/drivers/video/fbdev/mxc/mxc_hdmi.c
@@ -2265,10 +2265,11 @@ static void mxc_hdmi_setup(struct mxc_hdmi *hdmi, unsigned long event)
hdmi_video_csc(hdmi);
hdmi_video_sample(hdmi);
+ /* delay 20ms before tmds start work */
+ msleep(20);
mxc_hdmi_clear_overflow(hdmi);
dev_dbg(&hdmi->pdev->dev, "%s exit\n\n", __func__);
-
}
/* Wait until we are registered to enable interrupts */