summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandor Yu <R01008@freescale.com>2012-02-21 18:05:14 +0800
committerFrank Li <Frank.Li@freescale.com>2012-02-22 11:41:15 +0800
commit121aae11f1c5b56993a2e4237ab3e07709e92aed (patch)
tree5b0a0262e576daaed3f8f4e142e0ad90e8ec01f5
parentb13829c7539ad708dc72aa84522015106d8699f7 (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>
-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;
}