commit | 30656802355313a87d832f282d4112b403ed7131 | [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 | 3fade88686e71c9acee4cbeb3ae9706bbc845608 [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>