|
@@ -350,6 +350,9 @@ static void dwc2_port_intr(struct dwc2_hsotg *hsotg)
|
|
|
dev_vdbg(hsotg->dev,
|
|
dev_vdbg(hsotg->dev,
|
|
|
"--Port Interrupt HPRT0=0x%08x Port Connect Detected--\n",
|
|
"--Port Interrupt HPRT0=0x%08x Port Connect Detected--\n",
|
|
|
hprt0);
|
|
hprt0);
|
|
|
|
|
+ if (hsotg->lx_state != DWC2_L0)
|
|
|
|
|
+ usb_hcd_resume_root_hub(hsotg->priv);
|
|
|
|
|
+
|
|
|
hsotg->flags.b.port_connect_status_change = 1;
|
|
hsotg->flags.b.port_connect_status_change = 1;
|
|
|
hsotg->flags.b.port_connect_status = 1;
|
|
hsotg->flags.b.port_connect_status = 1;
|
|
|
hprt0_modify |= HPRT0_CONNDET;
|
|
hprt0_modify |= HPRT0_CONNDET;
|