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 <kabhijit@codeaurora.org>
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user