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

Commit 7bf012e6 authored by Yunyun Cao's avatar Yunyun Cao Committed by Gerrit - the friendly Code Review server
Browse files

drm/sde: don't set up backlight for dsi bridge on 8996 auto platform



If the panel is using bridge chips, such as ADV7533, it doesn't
have to set up backlight.

Change-Id: I014d697f81ecf1748ade2c40353ffdf9ff7c3669
Signed-off-by: default avatarYunyun Cao <yunyunc@codeaurora.org>
parent ba2e3941
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -540,14 +540,6 @@ struct drm_connector *sde_connector_init(struct drm_device *dev,
		goto error_unregister_conn;
	}

	if (c_conn->ops.set_backlight) {
		rc = sde_backlight_setup(&c_conn->base);
		if (rc) {
			pr_err("failed to setup backlight, rc=%d\n", rc);
			goto error_unregister_conn;
		}
	}

	/* create properties */
	msm_property_init(&c_conn->property_info, &c_conn->base.base, dev,
			priv->conn_property, c_conn->property_data,