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

Commit b2c65eb5 authored by Xiaowen Wu's avatar Xiaowen Wu
Browse files

drm/msm/dsi-staging: skip power parse when ext bridge is used



Skip power and reset sequence parse when external dsi bridge is used.

CRs-Fixed: 2351727
Change-Id: I8d5b1a352ad64773277a41ced356bbd32a267af2
Signed-off-by: default avatarXiaowen Wu <wxiaowen@codeaurora.org>
parent 441b78b0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1718,6 +1718,9 @@ static int dsi_panel_parse_reset_sequence(struct dsi_panel *panel)
	struct dsi_parser_utils *utils = &panel->utils;
	struct dsi_reset_seq *seq;

	if (panel->host_config.ext_bridge_mode)
		return 0;

	arr = utils->get_property(utils->data,
			"qcom,mdss-dsi-reset-sequence", &length);
	if (!arr) {
@@ -1851,6 +1854,9 @@ static int dsi_panel_parse_power_cfg(struct dsi_panel *panel)
	int rc = 0;
	char *supply_name;

	if (panel->host_config.ext_bridge_mode)
		return 0;

	if (!strcmp(panel->type, "primary"))
		supply_name = "qcom,panel-supply-entries";
	else