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

Commit c73bf08f 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: Do not attempt to request TE irq again if already requested"

parents 213ebe02 dbc2016b
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -3297,9 +3297,10 @@ static int mdss_dsi_ctrl_probe(struct platform_device *pdev)
			hw_vsync_handler, IRQF_TRIGGER_FALLING,
			hw_vsync_handler, IRQF_TRIGGER_FALLING,
			"VSYNC_GPIO", ctrl_pdata);
			"VSYNC_GPIO", ctrl_pdata);
		if (rc) {
		if (rc) {
			pr_err("TE request_irq failed.\n");
			pr_err("%s: TE request_irq failed for ESD\n", __func__);
			goto error_shadow_clk_deinit;
			goto error_shadow_clk_deinit;
		}
		}
		te_irq_registered = 1;
		disable_irq(gpio_to_irq(ctrl_pdata->disp_te_gpio));
		disable_irq(gpio_to_irq(ctrl_pdata->disp_te_gpio));
	}
	}