Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30a4a975 authored by Adrian Salido-Moreno's avatar Adrian Salido-Moreno
Browse files

msm: mdss: avoid failure if primary panel pref is not enabled



If device tree property to set primary panel preference is not
currently there, the entire probing sequence will fail. This prevents
certain debugging configurations. Replace this with a warning instead.

CRs-Fixed: 987761
Change-Id: I01949014d95d62ebf9615a6e49f3d500f66e1dea
Signed-off-by: default avatarAdrian Salido-Moreno <adrianm@codeaurora.org>
parent 2ab415c7
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1831,11 +1831,11 @@ static int mdss_mdp_get_cmdline_config(struct platform_device *pdev)
	rc = mdss_mdp_parse_dt_pan_intf(pdev);
	/* if pref pan intf is not present */
	if (rc)
		pr_err("unable to parse device tree for pan intf\n");
	else
		pr_warn("unable to parse device tree for pan intf\n");

	pan_cfg->init_done = true;

	return rc;
	return 0;
}

static void __update_sspp_info(struct mdss_mdp_pipe *pipe,