diff options
author | Sandor Yu <R01008@freescale.com> | 2012-12-27 17:13:28 +0800 |
---|---|---|
committer | Xinyu Chen <xinyu.chen@freescale.com> | 2013-01-08 13:18:21 +0800 |
commit | 4417ffc4d594896152f7e6cf7a9bd2f0ccd449e3 (patch) | |
tree | ba99ac8e61fb47d83ea2b8599f9c267601cbcf18 | |
parent | 2550f0724b7e50b61011c8d114637ed1a7a498c2 (diff) |
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 <R01008@freescale.com>
-rw-r--r-- | drivers/video/mxc_hdmi.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c index 7bed1347a131..78397534f796 100644 --- a/drivers/video/mxc_hdmi.c +++ b/drivers/video/mxc_hdmi.c @@ -188,6 +188,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) { @@ -1638,7 +1641,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); |