disp: msm: sde: flush esd work before disabling the encoder
Flush ESD status work before resetting the encoder state during virt_disable sequence to avoid stale pointers being used in the ESD work. Change-Id: I4bb08a7a7ae33ad6386169667692736e554141c4 Signed-off-by: Kalyan Thota <quic_kalyant@quicinc.com>
This commit is contained in:
@@ -2769,7 +2769,7 @@ static void sde_connector_check_status_work(struct work_struct *work)
|
||||
dev = conn->base.dev->dev;
|
||||
|
||||
if (!conn->ops.check_status || dev->power.is_suspended ||
|
||||
(conn->dpms_mode != DRM_MODE_DPMS_ON)) {
|
||||
(conn->lp_mode == SDE_MODE_DPMS_OFF)) {
|
||||
SDE_DEBUG("dpms mode: %d\n", conn->dpms_mode);
|
||||
mutex_unlock(&conn->lock);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user