diff options
| author | Carlos Song <carlos.song@nxp.com> | 2025-12-03 16:59:45 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-14 19:38:48 +0900 |
| commit | 5395bb7f7c361310d0f329c8169d2190809b05c1 (patch) | |
| tree | 908f819eb0b7c806d627494eee43eb64ca15b197 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | c64f62b036aed30626cb30fa82d3ec4a13fa83df (diff) | |
spi: imx: introduce helper to clear DMA mode logic
Add a helper function to handle clearing DMA mode, including getting the
maximum watermark length and submitting the DMA request. This refactoring
makes the code more concise and improves readability.
No functional changes.
Signed-off-by: Carlos Song <carlos.song@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20251203085949.2922166-3-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
