diff options
| author | Carlos Song <carlos.song@nxp.com> | 2025-12-03 16:59:47 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-14 19:38:50 +0900 |
| commit | a450c8b77f929f5f9f5236861761a8c5cab22023 (patch) | |
| tree | eb77b96bb23b44bc315e365775d6b0034f865f38 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | a5f298581d454c5ea77c5fb6f4ee1bff61eb2b2c (diff) | |
spi: imx: handle DMA submission errors with dma_submit_error()
Add error handling for DMA request submission by checking the return
cookie with dma_submit_error(). This prevents propagating submission
failures through the DMA transfer process, which could lead to
unexpected behavior.
Signed-off-by: Carlos Song <carlos.song@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20251203085949.2922166-5-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
