From: Sandor Yu Date: Thu, 27 Dec 2012 09:13:28 +0000 (+0800) Subject: ENGR00238384 MX6x HDMI: Update HDMI setting when HDMI cable plugin X-Git-Tag: v3.0.35-fsl~178 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=79af3851da327e76be4f934bfb3724c2ade7d999;p=karo-tx-linux.git ENGR00238384 MX6x HDMI: Update HDMI setting when HDMI cable plugin Update HDMI setting when HDMI cable plugin, HDMI will catch capbility update with EDID data updated. Signed-off-by: Sandor Yu --- diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c index 369e54f7d865..284c6e5e5a5e 100644 --- a/drivers/video/mxc_hdmi.c +++ b/drivers/video/mxc_hdmi.c @@ -186,6 +186,9 @@ static bool hdmi_inited; extern const struct fb_videomode mxc_cea_mode[64]; extern void mxc_hdmi_cec_handle(u16 cec_stat); + +static void mxc_hdmi_setup(struct mxc_hdmi *hdmi, unsigned long event); + #ifdef DEBUG static void dump_fb_videomode(struct fb_videomode *m) { @@ -1636,7 +1639,8 @@ static void mxc_hdmi_set_mode(struct mxc_hdmi *hdmi) "%s: Video mode same as previous\n", __func__); /* update fbi mode in case modelist is updated */ hdmi->fbi->mode = (struct fb_videomode *)mode; - mxc_hdmi_phy_init(hdmi); + /* update hdmi setting in case EDID data updated */ + mxc_hdmi_setup(hdmi, 0); } else { dev_dbg(&hdmi->pdev->dev, "%s: New video mode\n", __func__); mxc_hdmi_set_mode_to_vga_dvi(hdmi);