summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>2017-05-22 14:56:06 +0530
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-08-13 16:04:37 +0200
commite7025c3b5df1ab5bf38348dc07b740f564799d70 (patch)
tree09164a5c25d798d74dec0b5265cbc0d3e27fb6df /drivers/video
parentb1d971e95de01860569fdba6a63b19ab6cc2e824 (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> (cherry picked from commit 50e26af30f04d24f4783dae15206c5dba889fd2b) (cherry picked from commit 265b51f335858ef25f3da248e25c9df99aeefbb7)
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 b65c934ce5fb..80cb252d1ab5 100644
--- a/drivers/video/fbdev/mxc/mxc_ipuv3_fb.c
+++ b/drivers/video/fbdev/mxc/mxc_ipuv3_fb.c
@@ -3145,8 +3145,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;
}