summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRashi Bindra <rbindra@codeaurora.org>2017-06-05 13:02:59 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-06-08 03:50:31 -0700
commit4c22995163a0a81c4dd674ebb9afc2dfa697bb7d (patch)
treece1dd67eba50d669c2f0f67fcaee514931f3fb76
parent6c90c8860c5863fda38b2d2f3145c1d9b940d883 (diff)
msm: mdss: Do not attempt to request TE irq again if already requested
If the TE irq is alredy requested and registred with a GPIO, then setting it to true and not continuing with further requesting of the same. Change-Id: Iacd1677127c2663d88826e58f1b72704b58db939 Signed-off-by: Rashi Bindra <rbindra@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_dsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dsi.c b/drivers/video/fbdev/msm/mdss_dsi.c
index 4f1333426113..48b151b8080a 100644
--- a/drivers/video/fbdev/msm/mdss_dsi.c
+++ b/drivers/video/fbdev/msm/mdss_dsi.c
@@ -3429,9 +3429,10 @@ static int mdss_dsi_ctrl_probe(struct platform_device *pdev)
hw_vsync_handler, IRQF_TRIGGER_FALLING,
"VSYNC_GPIO", ctrl_pdata);
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;
}
+ te_irq_registered = 1;
disable_irq(gpio_to_irq(ctrl_pdata->disp_te_gpio));
}