summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>2017-05-22 14:56:06 +0530
committerMax Krummenacher <max.krummenacher@toradex.com>2017-06-01 18:22:51 +0200
commit50e26af30f04d24f4783dae15206c5dba889fd2b (patch)
tree45a4814d1f59e315a1b2a26c3bc02698858682cb /drivers/video
parent5f2e951deee5803424b3c70ce22252d196ecd716 (diff)
mxc_ipuv3_fb: Use the mode_string from command line as is
Using the mode_str passed via device tree as default fall back, fb_find_mode fails while finding the mode, so avoid using the non standard mode_str passed via device tree and use the mode_str from command line as is. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/mxc/mxc_ipuv3_fb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/fbdev/mxc/mxc_ipuv3_fb.c b/drivers/video/fbdev/mxc/mxc_ipuv3_fb.c
index f54e60dcfc15..ba66d98e8cbd 100644
--- a/drivers/video/fbdev/mxc/mxc_ipuv3_fb.c
+++ b/drivers/video/fbdev/mxc/mxc_ipuv3_fb.c
@@ -3138,8 +3138,7 @@ static int mxcfb_option_setup(struct platform_device *pdev, struct fb_info *fbi)
fb_mode_str = opt;
}
- if (fb_mode_str)
- pdata->mode_str = fb_mode_str;
+ pdata->mode_str = fb_mode_str;
return 0;
}