diff options
| author | HiFiPHile <[email protected]> | 2026-09-04 09:52:35 +0200 |
|---|---|---|
| committer | HiFiPHile <[email protected]> | 2026-09-04 09:52:35 +0200 |
| commit | 6f2824e97bbc7226e06eddd1429fc4fa64f6b2a5 (patch) | |
| tree | 021d73104c2dad0ff7ed3e7e01e0c669ef0c33f9 /src/portable/analog | |
| parent | d0999293426ccbc8904474eaf5d182dd21a66cce (diff) | |
fix(dwc2): prevent restart during endpoint retirementpr3864-alt
Mark active close and abort operations on both the endpoint and host channel before requesting a halt. Channel, RX FIFO, and Tx FIFO interrupt paths then discard work until Channel Halted retires the transfer, so split ACK/NYET handling cannot re-arm a channel that software is closing.
Serialize the state transition with GAHBCFG.GINT. This keeps a parked low-speed channel atomic with the one-transaction-per-frame SOF scheduler without freeing and reallocating the ESP32 interrupt handler. Slave mode temporarily restores controller interrupts while waiting for halt-request queue space; periodic DMA channels remain owned until their natural halt.
Diffstat (limited to 'src/portable/analog')
0 files changed, 0 insertions, 0 deletions
