diff options
| author | Carlos Song <carlos.song@nxp.com> | 2025-12-03 11:59:46 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-14 13:38:49 +0300 |
| commit | a5f298581d454c5ea77c5fb6f4ee1bff61eb2b2c (patch) | |
| tree | cedfc7612912c5e00419d2a93121ed066658eca3 /include/uapi/linux | |
| parent | 5395bb7f7c361310d0f329c8169d2190809b05c1 (diff) | |
| download | linux-a5f298581d454c5ea77c5fb6f4ee1bff61eb2b2c.tar.xz | |
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 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
