zephyr/subsys/usb
Tomasz Moń 08bd1c5ec2 usb: device: Fix ZLP write race condition
ZLP packet has to be read and acknowledged by host just like any other
DATA packet. Do not end transfer until the host actually acknowledged
the trailing ZLP. This fixes the race condition between host and Zephyr
application where the next transfer could be lost if host did not issue
IN token (that would read read ZLP) before the application tried to
start new transfer.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2023-10-26 13:52:31 +02:00
..
device usb: device: Fix ZLP write race condition 2023-10-26 13:52:31 +02:00
device_next usb: device_next: loopback: fixup left over from early state 2023-10-01 09:26:07 +03:00
host usb: host: usbh_ch9: add ASSERT for unresolved data stage conditions 2023-10-01 09:26:07 +03:00
usb_c usbc: add sleep prevention in places that may require it 2023-10-23 10:33:38 +02:00
CMakeLists.txt usb: add initial USB host support 2022-12-16 13:21:12 +01:00