From 80773959b85cfd9fd139d12b2f60af030792c96f Mon Sep 17 00:00:00 2001 From: penglezos Date: Thu, 1 Oct 2020 20:44:20 +0300 Subject: [PATCH] drm: msm: ignore esd irq handling A 'lazy' version of their implementation, instead of removing the code simply disable the node. It seems to speed up FOD unlock as suggested by UtsavisGreat and Yaroslav Furman --- drivers/gpu/drm/msm/dsi-staging/dsi_panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dsi-staging/dsi_panel.c b/drivers/gpu/drm/msm/dsi-staging/dsi_panel.c index 22479057ea6b..1b641870b475 100644 --- a/drivers/gpu/drm/msm/dsi-staging/dsi_panel.c +++ b/drivers/gpu/drm/msm/dsi-staging/dsi_panel.c @@ -3480,7 +3480,7 @@ static int dsi_panel_parse_esd_config(struct dsi_panel *panel) /* esd-err-flag method will be prefered */ esd_config->esd_err_irq_gpio = of_get_named_gpio_flags( panel->panel_of_node, - "qcom,esd-err-irq-gpio", + "qcom,esd-err-irq-gpio-fake", 0, (enum of_gpio_flags *)&(esd_config->esd_err_irq_flags)); if (gpio_is_valid(esd_config->esd_err_irq_gpio)) {