usb: dwc3: ep0: NAK L1 initiated between SETUP and STATUS stage
When working in USB 2.0 speeds(HS/FS), if the device controller gets
an LPM request from the host during a control transfer, the device is
expected to reject it. However, because of SNPS STAR: 9001046257
device controller accepts the request, goes to L1 state, and does
not initiate wakeup to exit L1 state. If the host expects the device
to do a remote wakeup from L1 state and the device does not initiate
the wakeup, the host continues to wait and starts enumeration again
because control transfer timeout occurs.
Workaround the issue by programming DWC3_DCTL to reject LPM when SETUP
packet is received and ACK LPM after completing STATUS stage.
Change-Id: Ic2cb9012f37c7974ee9657ff6bd201c25ad5c45e
Signed-off-by:
Hemant Kumar <hemantk@codeaurora.org>
Loading
Please register or sign in to comment