Kaynağa Gözat

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 <[email protected]>
Abhijit Kulkarni 5 yıl önce
ebeveyn
işleme
89151186f3
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      msm/sde/sde_connector.c

+ 1 - 1
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) {