|
@@ -316,10 +316,12 @@ void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg)
|
|
*/
|
|
*/
|
|
static void dwc2_hcd_rem_wakeup(struct dwc2_hsotg *hsotg)
|
|
static void dwc2_hcd_rem_wakeup(struct dwc2_hsotg *hsotg)
|
|
{
|
|
{
|
|
- if (hsotg->lx_state == DWC2_L2)
|
|
|
|
|
|
+ if (hsotg->lx_state == DWC2_L2) {
|
|
hsotg->flags.b.port_suspend_change = 1;
|
|
hsotg->flags.b.port_suspend_change = 1;
|
|
- else
|
|
|
|
|
|
+ usb_hcd_resume_root_hub(hsotg->priv);
|
|
|
|
+ } else {
|
|
hsotg->flags.b.port_l1_change = 1;
|
|
hsotg->flags.b.port_l1_change = 1;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|