diff options
author | Sandor Yu <R01008@freescale.com> | 2012-12-27 17:13:28 +0800 |
---|---|---|
committer | Sandor Yu <R01008@freescale.com> | 2012-12-27 17:13:28 +0800 |
commit | 0c65d1ac21e6f5a97c027b3a3e656ca90513b03b (patch) | |
tree | e596854ccdab2b6ca3317f554de284b65291f8f2 /drivers/video | |
parent | 66eca71273b2672f394f6e06a3ba1c26fd421807 (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>
Diffstat (limited to 'drivers/video')
-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 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); |