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

Commit 23fe9299 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: Request for TE GPIO only for command mode panel"

parents 3f4d237a 6efdf367
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1187,7 +1187,8 @@ int dsi_panel_device_register(struct device_node *pan_node,
			       __func__, __LINE__);
	}

	if (gpio_is_valid(ctrl_pdata->disp_te_gpio)) {
	if (gpio_is_valid(ctrl_pdata->disp_te_gpio) &&
					pinfo->type == MIPI_CMD_PANEL) {
		rc = gpio_request(ctrl_pdata->disp_te_gpio, "disp_te");
		if (rc) {
			pr_err("request TE gpio failed, rc=%d\n",