diff options
author | Sandor Yu <R01008@freescale.com> | 2015-07-07 18:41:17 +0800 |
---|---|---|
committer | Sandor Yu <R01008@freescale.com> | 2015-07-08 15:59:45 +0800 |
commit | 9e43a4beaed03bd50b864145ed6e79ce2bce91c9 (patch) | |
tree | c8bd6d6f780e1901d9e1063d20dbe448b590ec82 /drivers | |
parent | 7c8fbfea57590904df4f9ed8d5d3bbae4d27a597 (diff) |
MLK-11224 hdmi: Fix fbi var overwrite issue
When hdmi driver rebuild a new modelist, the fbi var may
overwrited by fbcon.
Reinitialize fbi var when video mode same as previous to
fix this issue.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/mxc/mxc_hdmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/mxc/mxc_hdmi.c b/drivers/video/mxc/mxc_hdmi.c index 2706df1e8be9..7c636b72c9cc 100644 --- a/drivers/video/mxc/mxc_hdmi.c +++ b/drivers/video/mxc/mxc_hdmi.c @@ -1902,6 +1902,7 @@ 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; + fb_videomode_to_var(&hdmi->fbi->var, mode); /* update hdmi setting in case EDID data updated */ mxc_hdmi_setup(hdmi, 0); } else { |