diff options
| author | Ha Thach <[email protected]> | 2026-08-17 19:04:37 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-08-17 19:04:37 +0700 |
| commit | 2465ea8f435114af3b3c935cc4fbed423d9eac69 (patch) | |
| tree | a47ef0f4ecb66ecba5d00e286fc4bf6f067096a9 /src/portable/synopsys | |
| parent | 9fb2f9cb3f8e30fa9ca2a32f4cdc6f0fb07a5be3 (diff) | |
| parent | 8ccd0d549798c66d484e5a4b4c57edf49e8bb097 (diff) | |
Merge pull request #3790 from hathach/fix/lpc43-hfp-reliability
Fix HFP HIL reliability issue
Diffstat (limited to 'src/portable/synopsys')
| -rw-r--r-- | src/portable/synopsys/dwc2/dcd_dwc2.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/portable/synopsys/dwc2/dcd_dwc2.c b/src/portable/synopsys/dwc2/dcd_dwc2.c index 86aa54510..b2f1a93a4 100644 --- a/src/portable/synopsys/dwc2/dcd_dwc2.c +++ b/src/portable/synopsys/dwc2/dcd_dwc2.c @@ -1143,7 +1143,12 @@ static void handle_incomplete_iso_in(uint8_t rhport) { xfer_ctl_t *xfer = XFER_CTL_BASE(epnum, TUSB_DIR_IN); if (xfer->iso_retry > 0) { xfer->iso_retry--; - // Restart ISO transfe: re-write TSIZ and CTL + // Restart ISO transfer: re-write DMA address, TSIZ, and CTL + #if CFG_TUD_DWC2_DMA_ENABLE + if (dma_device_enabled(dwc2)) { + epin->diepdma = (uintptr_t) xfer->buffer; + } + #endif dwc2_ep_tsize_t deptsiz = {.value = 0}; deptsiz.xfer_size = xfer->total_len; deptsiz.packet_count = tu_div_ceil(xfer->total_len, xfer->max_size); |
