Procházet zdrojové kódy

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 před 5 roky
rodič
revize
89151186f3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {