HomeFreeBSD

Fix for control endpoint handling in the DWC OTG driver. The data

Description

Fix for control endpoint handling in the DWC OTG driver. The data
stage processing is only allowed after the setup complete event has
been received. Else a race may occur and the OUT data can be corrupted.
While at it ensure resetting a FIFO has the required wait loop.

MFC after: 3 days

Details

Provenance
hselaskyAuthored on
Parents
rS283921: In ftp_stage(), unset WITH_VMIMAGES before returning.
Branches
Unknown
Tags
Unknown