summaryrefslogtreecommitdiff
path: root/drivers/video/mxc_hdmi.c
diff options
context:
space:
mode:
authorSandor Yu <R01008@freescale.com>2012-02-21 18:05:14 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:23:11 +0800
commitad51081de8fa91b16551cf8cbdad2c35ed091ec3 (patch)
treecf2a081f2d7396adce0c9eb6ee07b86ec3dc1d96 /drivers/video/mxc_hdmi.c
parent125db5ee47dee2ccce11fe9955ae432deb4de124 (diff)
ENGR00174916 MX6x, console output hang 20 seconds when system bootup
It is cause by fb driver to init HDMI PHY when HDMI driver not register. Signed-off-by: Sandor Yu <R01008@freescale.com>
Diffstat (limited to 'drivers/video/mxc_hdmi.c')
-rw-r--r--drivers/video/mxc_hdmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c
index c415042f204d..c13bc7086b84 100644
--- a/drivers/video/mxc_hdmi.c
+++ b/drivers/video/mxc_hdmi.c
@@ -1701,7 +1701,8 @@ static void mxc_hdmi_cable_connected(struct mxc_hdmi *hdmi)
static int mxc_hdmi_power_on(struct mxc_dispdrv_handle *disp)
{
struct mxc_hdmi *hdmi = mxc_dispdrv_getdata(disp);
- mxc_hdmi_phy_init(hdmi);
+ if (hdmi->fb_reg && hdmi->cable_plugin)
+ mxc_hdmi_phy_init(hdmi);
return 0;
}