From 538a2aceab9c348da99e4bd85162f2bfdffdce41 Mon Sep 17 00:00:00 2001 From: Sandor Yu Date: Tue, 21 Feb 2012 18:05:14 +0800 Subject: [PATCH] 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 --- drivers/video/mxc_hdmi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.2