|
@@ -356,6 +356,10 @@ static void dwc2_handle_wakeup_detected_intr(struct dwc2_hsotg *hsotg)
|
|
|
/* Change to L0 state */
|
|
/* Change to L0 state */
|
|
|
hsotg->lx_state = DWC2_L0;
|
|
hsotg->lx_state = DWC2_L0;
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+ if (hsotg->core_params->hibernation) {
|
|
|
|
|
+ dwc2_writel(GINTSTS_WKUPINT, hsotg->regs + GINTSTS);
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
if (hsotg->lx_state != DWC2_L1) {
|
|
if (hsotg->lx_state != DWC2_L1) {
|
|
|
u32 pcgcctl = dwc2_readl(hsotg->regs + PCGCTL);
|
|
u32 pcgcctl = dwc2_readl(hsotg->regs + PCGCTL);
|
|
|
|
|
|