summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorCarlos Song <carlos.song@nxp.com>2025-12-03 16:59:46 +0800
committerMark Brown <broonie@kernel.org>2025-12-14 19:38:49 +0900
commita5f298581d454c5ea77c5fb6f4ee1bff61eb2b2c (patch)
treecedfc7612912c5e00419d2a93121ed066658eca3 /include/linux/i2c/git@git.tavy.me:linux.git
parent5395bb7f7c361310d0f329c8169d2190809b05c1 (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 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions