aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2014-03-10 05:53:29 -0400
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:57:56 -0400
commit5cda98319acbcff011d8b2e20136f06703fcb923 (patch)
tree45800ead4c6f02efbbce86f112dd0f4c20521c6b
parent76d39a3901c9fb63d554137c23b10be76c6118f6 (diff)
ENGR00302472-4 video: mxc ipuv3 fb: Don't bail out if no DT mode str
The encoder drivers should decide if they need mode string for initialization or not. So, we don't have to provide mode string in the device tree node. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
-rw-r--r--drivers/video/mxc/mxc_ipuv3_fb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/mxc/mxc_ipuv3_fb.c b/drivers/video/mxc/mxc_ipuv3_fb.c
index 954cbf1e3d52..963a56a21bd4 100644
--- a/drivers/video/mxc/mxc_ipuv3_fb.c
+++ b/drivers/video/mxc/mxc_ipuv3_fb.c
@@ -2286,10 +2286,8 @@ static int mxcfb_get_of_property(struct platform_device *pdev,
2286 return err; 2286 return err;
2287 } 2287 }
2288 err = of_property_read_string(np, "mode_str", &mode_str); 2288 err = of_property_read_string(np, "mode_str", &mode_str);
2289 if (err < 0) { 2289 if (err < 0)
2290 dev_dbg(&pdev->dev, "get of property mode_str fail\n"); 2290 dev_dbg(&pdev->dev, "get of property mode_str fail\n");
2291 return err;
2292 }
2293 err = of_property_read_string(np, "interface_pix_fmt", &pixfmt); 2291 err = of_property_read_string(np, "interface_pix_fmt", &pixfmt);
2294 if (err) { 2292 if (err) {
2295 dev_dbg(&pdev->dev, "get of property pix fmt fail\n"); 2293 dev_dbg(&pdev->dev, "get of property pix fmt fail\n");