commit | e3dedea48f624332b644646c65036d36ad91fa62 | [log] [tgz] |
---|---|---|
author | Chance.Yang <chance.yang@vatics.com> | Tue Oct 06 10:55:49 2020 +0800 |
committer | Marek Vasut <marex@denx.de> | Tue Oct 20 00:48:58 2020 +0200 |
tree | b6300459af9d6b7f555f02e5a8c1fbbb6cad83b3 | |
parent | 01adeb3bb94ebdc27f77093dd697a5019b23b531 [diff] |
usb: dwc2: Fix control OUT transfer issue In buffer DMA mode, gadget should re-configure EP 0 to received SETUP packets when doeptsiz.xfersize is equal to a setup packet size(8 bytes) and EP 0 is in WAIT_FOR_SETUP state. Since EP 0 is not enabled in WAIT_FOR_SETUP state, SETUP packets is NOT received from RxFifo and wriiten to the external memory. Signed-off-by: Chance.Yang <chance.yang@vatics.com>