浏览代码

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 年之前
父节点
当前提交
89151186f3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {