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>
This commit is contained in:
parent
b99a1ae573
commit
3237117000
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue