Message ID | 1671149343-312-2-git-send-email-quic_khsieh@quicinc.com |
---|---|
State | Accepted |
Commit | 1cba0d150fa102439114a91b3e215909efc9f169 |
Headers | show |
Series | do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer | expand |
diff --git a/drivers/gpu/drm/msm/dp/dp_aux.c b/drivers/gpu/drm/msm/dp/dp_aux.c index d030a93..cc3efed 100644 --- a/drivers/gpu/drm/msm/dp/dp_aux.c +++ b/drivers/gpu/drm/msm/dp/dp_aux.c @@ -423,6 +423,10 @@ void dp_aux_isr(struct drm_dp_aux *dp_aux) isr = dp_catalog_aux_get_irq(aux->catalog); + /* no interrupts pending, return immediately */ + if (!isr) + return; + if (!aux->cmd_busy) return;