]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix for control endpoint handling in the DWC OTG driver. The data
authorhselasky <hselasky@FreeBSD.org>
Tue, 2 Jun 2015 17:40:52 +0000 (17:40 +0000)
committerhselasky <hselasky@FreeBSD.org>
Tue, 2 Jun 2015 17:40:52 +0000 (17:40 +0000)
commitba378c2acb3001da612d5a4a88f4d7d07c686cee
treea4d0f9103fa0e67a9af63d6d5495b3a46a9849b4
parent8652055e8c517add82bcc56c6538fe91b482cdbe
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
sys/dev/usb/controller/dwc_otg.c