Skip to content
Commit 5c81abab authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: ep0: prevent starting transfers twice on ep0



In case we try to start an invalid test mode, we
will call dwc3_ep0_stall_and_restart() but we will
also call dwc3_ep0_out_start() which will start
a second transfer on ep0.

Let's prevent any problems by returning early in
the error case.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 9be23951
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