Skip to content
Commit a4cc67cf authored by Piyush Mehta's avatar Piyush Mehta Committed by Quanyang Wang
Browse files

usb: dwc3: handle usb2.0 gadget mode early hibernation event occurrence



commit  8a21f17ce0bba39d84e83ea7fdf5fad6cd6c633f from
https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.10

In USB 2.0, before connection done early hibernation interrupt
occurred. To avoid early Hibernation event for gadget mode set
DWC3_GCTL_GBLHIBERNATIONEN bit after connection done instead of
global core setup in dwc3 core.

Added host mode check in global core setup to avoid early bit
setting of DWC3_GCTL_GBLHIBERNATIONEN for gadget mode.

Signed-off-by: default avatarPiyush Mehta <piyush.mehta@xilinx.com>
State: pending
Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
parent 77dd5a13
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment