zephyr/subsys/usb/device
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
..
class usb: device: cdc_acm: block in uart_poll_out() routine 2023-10-23 11:48:44 +02:00
bos.c
CMakeLists.txt
Kconfig COVERAGE: Fix COVERAGE_GCOV dependencies 2023-08-24 15:36:31 +02:00
os_desc.c
os_desc.h
usb_descriptor.c iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
usb_descriptor.h
usb_device.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
usb_transfer.c usb: device: Fix ZLP write race condition 2023-10-26 13:52:31 +02:00
usb_transfer.h
usb_work_q.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
usb_work_q.h