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: Piyush Mehta <piyush.mehta@xilinx.com> State: pending Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
parent
77dd5a13
Please register or sign in to comment