Skip to content

Conversation

@andy9a9
Copy link

@andy9a9 andy9a9 commented Oct 31, 2025

  • handle RX transfers before TX in target mode
  • even if the spi_target_abort was called, the DMA transfers have been pending

@andy9a9 andy9a9 changed the title RFC: spi: spi-imx: complete DMA transfers on target mode spi: spi-imx: complete DMA transfers on target mode Nov 1, 2025
@andy9a9 andy9a9 marked this pull request as ready for review November 1, 2025 12:55
Init RX channel before RX in target mode. When SPI is used in target_mode
and DMA transfer are used, completing the PIO/ISR transfer won't work.
DMA transfers have to be completed by own completion with channel
termination.

Signed-off-by: Andrej Valek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant