zephyr/drivers/usb
Tomasz Moń 45ee2a0b0d drivers: udc_dwc2: Fix multipart DMA OUT transfers
DMA transfers are supposed to write to buffer tail. Use the proper
pointer to make multipart DMA transfers actually write the data to the
intended location.

The issue was observed on control write transfers where the OUT Data
Stage was at least 128 bytes (because endpoint 0 transfer width is
limited to 7 bits).

The issue is unlikely to happen on non-control transfers because the
transfer size width is at least 11 bits (at most 19 bits) and packet
size counter is at least 4 bits (at most: 10 bits) which means that
at least 2048 byte transfer spanning at least 15 packets (or at least
524288 byte spanning 1023 packets for 19 bits transfer size counter
and 10 bits packet counter) is required to necessitate multipart DMA.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2025-01-21 19:28:13 +01:00
..
bc12 drivers: bc12: Place API into iterable section 2024-12-03 19:56:37 +01:00
common nrf_usbd_common: Do not trigger DMA in low power mode 2024-11-26 14:45:01 +00:00
device drivers: usb: stm32: fix support of STM32U5 OTG_HS with embedded PHY 2024-12-11 08:00:03 +01:00
udc drivers: udc_dwc2: Fix multipart DMA OUT transfers 2025-01-21 19:28:13 +01:00
uhc
uvb
CMakeLists.txt
Kconfig