Merge "usb: dwc3: Prevent deadlock when wakeup happens through pwr event irq"

This commit is contained in:
qctecmdr 2021-11-01 07:20:19 -07:00 committed by Gerrit - the friendly Code Review server
commit ca59b61cf4

View file

@ -2579,7 +2579,7 @@ static int dwc3_msm_suspend(struct dwc3_msm *mdwc, bool enable_wakeup)
dbg_event(0xFF, "pend evt", 0);
/* disable power event irq, hs and ss phy irq is used as wake up src */
disable_irq(mdwc->wakeup_irq[PWR_EVNT_IRQ].irq);
disable_irq_nosync(mdwc->wakeup_irq[PWR_EVNT_IRQ].irq);
dwc3_set_phy_speed_flags(mdwc);
/* Suspend HS PHY */