소스 검색

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