usb: dwc3: hibernation: Handling hibernation spurious events
Add spurious hibernation events handling for hibernation state:
- Corrected the __dwc3_gadget_ep_enable function action argument for
endpoint restore or save state.
- When software end active transfer, software must set the DEPCMD_CMDIOC
bit so that an Endpoint Command Complete event is generated after the
transfer ends.
- Cleared endpoint flags when endpoint transfer stop or end.
- Modified delay to validate wake-up signal is real or not.
Signed-off-by: NPiyush Mehta <piyush.mehta@xilinx.com>
Showing
想要评论请 注册 或 登录