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

This commit is contained in:
qctecmdr 2021-11-02 06:52:51 -07:00 • committed by Gerrit - the friendly Code Review server
commit 1dadeefb1f

View file

@ -3283,7 +3283,7 @@ static int dwc3_msm_suspend(struct dwc3_msm *mdwc, bool force_power_collapse,
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 */