|
@@ -4481,7 +4481,9 @@ static int _dwc2_hcd_suspend(struct usb_hcd *hcd)
|
|
hprt0 |= HPRT0_SUSP;
|
|
hprt0 |= HPRT0_SUSP;
|
|
hprt0 &= ~HPRT0_PWR;
|
|
hprt0 &= ~HPRT0_PWR;
|
|
dwc2_writel(hsotg, hprt0, HPRT0);
|
|
dwc2_writel(hsotg, hprt0, HPRT0);
|
|
|
|
+ spin_unlock_irqrestore(&hsotg->lock, flags);
|
|
dwc2_vbus_supply_exit(hsotg);
|
|
dwc2_vbus_supply_exit(hsotg);
|
|
|
|
+ spin_lock_irqsave(&hsotg->lock, flags);
|
|
}
|
|
}
|
|
|
|
|
|
/* Enter partial_power_down */
|
|
/* Enter partial_power_down */
|