diff options
| author | 2025-12-03 16:59:46 +0800 | |
|---|---|---|
| committer | 2025-12-14 19:38:49 +0900 | |
| commit | a5f298581d454c5ea77c5fb6f4ee1bff61eb2b2c (patch) | |
| tree | cedfc7612912c5e00419d2a93121ed066658eca3 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | spi: imx: introduce helper to clear DMA mode logic (diff) | |
spi: imx: avoid dmaengine_terminate_all() on TX prep failure
If dmaengine_prep_slave_sg() fails, no descriptor is submitted to the TX
channel and DMA is never started. Therefore, calling
dmaengine_terminate_all() for the TX DMA channel is unnecessary.
Signed-off-by: Carlos Song <carlos.song@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20251203085949.2922166-4-carlos.song@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
