aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/common/common.c
diff options
context:
space:
mode:
authorChance.Yang <chance.yang@vatics.com>2020-10-06 10:55:49 +0800
committerMarek Vasut <marex@denx.de>2020-10-20 00:48:58 +0200
commit30656802355313a87d832f282d4112b403ed7131 (patch)
treeb6300459af9d6b7f555f02e5a8c1fbbb6cad83b3 /drivers/usb/common/common.c
parent3fade88686e71c9acee4cbeb3ae9706bbc845608 (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>
Diffstat (limited to 'drivers/usb/common/common.c')
0 files changed, 0 insertions, 0 deletions