Commits

Peter Chen committed 7b4530142e6
ENGR00161644 usb-gadget: prime directly for status dTD of ep0 During the setup transfer, if prime status just after prime the data, but before the data completes, there is a potential problem: The device's qTD has NO direction bit, If the IN request(Status Stage) is added to qTD list while the OUT (Data Stage) is priming, then the IN will not prime by software, it will prime automatically by controller as OUT. We met one usb hang issue during repeat plug in/out test at i.mx6q that the data status has finished but status has never finished, it is most likely above issue. After this fix, the repeat plug in/out test passes successfully. Signed-off-by: Peter Chen <peter.chen@freescale.com>