From 89151186f33b33e33f8a2d4ca2f55f7d60bbe8b1 Mon Sep 17 00:00:00 2001 From: Abhijit Kulkarni Date: Wed, 6 May 2020 13:17:36 -0700 Subject: [PATCH] disp: msm: sde: switch esd detection to panel read This changes the method of esd detection at tx timeout from TE to panel status read for panels having status read as default method. When ESD is triggered, even if spurious TE interrupt fires after resetting the panel gpio, driver correctly follows the recovery after esd failure. Change-Id: Ib33537319f128c038f5774829dfd09bab9664fea Signed-off-by: Abhijit Kulkarni --- msm/sde/sde_connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msm/sde/sde_connector.c b/msm/sde/sde_connector.c index ba5574f3b9d0..d06356b34429 100644 --- a/msm/sde/sde_connector.c +++ b/msm/sde/sde_connector.c @@ -2189,7 +2189,7 @@ int sde_connector_esd_status(struct drm_connector *conn) return -ETIMEDOUT; } ret = sde_conn->ops.check_status(&sde_conn->base, - sde_conn->display, true); + sde_conn->display, false); mutex_unlock(&sde_conn->lock); if (ret <= 0) {