Loading drivers/usb/dwc3/dwc3-msm.c +4 −1 Original line number Diff line number Diff line Loading @@ -2582,7 +2582,6 @@ static int dwc3_msm_suspend(struct dwc3_msm *mdwc, bool force_power_collapse) mdwc->lpm_flags |= MDWC3_SS_PHY_SUSPEND; } else if (mdwc->use_pwr_event_for_wakeup) { dwc3_msm_set_ss_pwr_events(mdwc, true); enable_irq(mdwc->wakeup_irq[PWR_EVNT_IRQ].irq); } /* make sure above writes are completed before turning off clocks */ Loading Loading @@ -2660,6 +2659,10 @@ static int dwc3_msm_suspend(struct dwc3_msm *mdwc, bool force_power_collapse) mdwc->lpm_flags |= MDWC3_ASYNC_IRQ_WAKE_CAPABILITY; } if (mdwc->use_pwr_event_for_wakeup && !(mdwc->lpm_flags & MDWC3_SS_PHY_SUSPEND)) enable_irq(mdwc->wakeup_irq[PWR_EVNT_IRQ].irq); dev_info(mdwc->dev, "DWC3 in low power mode\n"); dbg_event(0xFF, "Ctl Sus", atomic_read(&dwc->in_lpm)); Loading Loading
drivers/usb/dwc3/dwc3-msm.c +4 −1 Original line number Diff line number Diff line Loading @@ -2582,7 +2582,6 @@ static int dwc3_msm_suspend(struct dwc3_msm *mdwc, bool force_power_collapse) mdwc->lpm_flags |= MDWC3_SS_PHY_SUSPEND; } else if (mdwc->use_pwr_event_for_wakeup) { dwc3_msm_set_ss_pwr_events(mdwc, true); enable_irq(mdwc->wakeup_irq[PWR_EVNT_IRQ].irq); } /* make sure above writes are completed before turning off clocks */ Loading Loading @@ -2660,6 +2659,10 @@ static int dwc3_msm_suspend(struct dwc3_msm *mdwc, bool force_power_collapse) mdwc->lpm_flags |= MDWC3_ASYNC_IRQ_WAKE_CAPABILITY; } if (mdwc->use_pwr_event_for_wakeup && !(mdwc->lpm_flags & MDWC3_SS_PHY_SUSPEND)) enable_irq(mdwc->wakeup_irq[PWR_EVNT_IRQ].irq); dev_info(mdwc->dev, "DWC3 in low power mode\n"); dbg_event(0xFF, "Ctl Sus", atomic_read(&dwc->in_lpm)); Loading