summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSandor Yu <R01008@freescale.com>2012-02-21 18:05:14 +0800
committerSandor Yu <R01008@freescale.com>2012-02-22 12:28:23 +0800
commit7dfeb2e543b45a8e33318e1879ef5ba89484a81b (patch)
tree5e043f14622f36bf6ca27a15656de17768c281eb /drivers
parent5b8606cec7f1887f4e6885c32cdc633b5b935db5 (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')
-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;
}