summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-06-01 15:08:08 +0100
committerMark Brown <broonie@kernel.org>2026-06-01 15:08:08 +0100
commitf9df47af4150ab17c20711ef553c77cff746b1ac (patch)
tree253ca0f1f399d1835ae735245830760de29a08bb /scripts/Makefile.thinlto
parentbd7e9843ec95bffe2643c901dd625f0bab32e639 (diff)
parent01980b5da56e573d62798d0ff6c86bcaa2b22cbe (diff)
spi: fsl-lpspi: fix DMA termination issues
Carlos Song (OSS) <carlos.song@oss.nxp.com> says: This series fixes two issues in the fsl-lpspi DMA transfer error paths. Patch 1 replaces the deprecated dmaengine_terminate_all() with dmaengine_terminate_sync() across all error paths in fsl_lpspi_dma_transfer(). Patch 2 fixes a missing RX DMA channel termination when TX descriptor preparation fails. Since the RX channel is already submitted and issued before the TX descriptor is prepared, returning -EINVAL without terminating the RX channel leaves it running against buffers that the SPI core will unmap, potentially causing memory corruption. Link: https://patch.msgid.link/20260525062357.3191349-1-carlos.song@oss.nxp.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions