diff options
| author | Dhaval Patel <pdhaval@codeaurora.org> | 2014-10-14 16:29:19 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:34:52 -0700 |
| commit | 3237117000cda2ebcdcd4eff28baa0e99f7cdd27 (patch) | |
| tree | 6d2783c5df94defae06b19f889b650c63acda2c0 /drivers/video/fbdev | |
| parent | b99a1ae5736853e19e0782ab8d80a43dab066c91 (diff) | |
msm: mdss: handle fbc prefill as optional property
FBC lines prefill is option property but MDSS driver probe
returns failure if this property is not defined. This change
handles it as optional property.
Change-Id: I8d1813fbbc2f5aef9bf81535e1640c9c25c8a784
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp.c b/drivers/video/fbdev/msm/mdss_mdp.c index 040ef4c3a471..654d02db3ec7 100644 --- a/drivers/video/fbdev/msm/mdss_mdp.c +++ b/drivers/video/fbdev/msm/mdss_mdp.c @@ -2471,10 +2471,8 @@ static int mdss_mdp_parse_dt_prefill(struct platform_device *pdev) rc = of_property_read_u32(pdev->dev.of_node, "qcom,mdss-prefill-fbc-lines", &prefill->fbc_lines); - if (rc) { - pr_err("prefill FBC lines not specified\n"); - return rc; - } + if (rc) + pr_debug("prefill FBC lines not specified\n"); return 0; } |
