Loading drivers/usb/dwc3/gadget.c +9 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ static void dwc3_gadget_usb2_phy_suspend(struct dwc3 *dwc, int suspend); static void dwc3_gadget_usb3_phy_suspend(struct dwc3 *dwc, int suspend); static void dwc3_gadget_wakeup_interrupt(struct dwc3 *dwc); /** * dwc3_gadget_set_test_mode - Enables USB2 Test Modes Loading Loading @@ -1581,6 +1582,14 @@ static int dwc3_gadget_wakeup(struct usb_gadget *g) ret = -EINVAL; } /* * According to DWC3 databook, the controller does not * trigger a wakeup event when remote-wakeup is used. * Hence, after remote-wakeup sequence is complete, and * the device is back at U0 state, it is required that * the resume sequence is initiated by SW. */ dwc3_gadget_wakeup_interrupt(dwc); out: spin_unlock_irqrestore(&dwc->lock, flags); Loading Loading
drivers/usb/dwc3/gadget.c +9 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ static void dwc3_gadget_usb2_phy_suspend(struct dwc3 *dwc, int suspend); static void dwc3_gadget_usb3_phy_suspend(struct dwc3 *dwc, int suspend); static void dwc3_gadget_wakeup_interrupt(struct dwc3 *dwc); /** * dwc3_gadget_set_test_mode - Enables USB2 Test Modes Loading Loading @@ -1581,6 +1582,14 @@ static int dwc3_gadget_wakeup(struct usb_gadget *g) ret = -EINVAL; } /* * According to DWC3 databook, the controller does not * trigger a wakeup event when remote-wakeup is used. * Hence, after remote-wakeup sequence is complete, and * the device is back at U0 state, it is required that * the resume sequence is initiated by SW. */ dwc3_gadget_wakeup_interrupt(dwc); out: spin_unlock_irqrestore(&dwc->lock, flags); Loading