Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 589759f2 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

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: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 375bf771
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment