diff options
| author | Frank Li <Frank.Li@nxp.com> | 2026-10-02 15:54:09 -0400 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-10-09 11:49:47 +0200 |
| commit | 562b6ed45db52934aaab9fbc856db3db79753155 (patch) | |
| tree | 201f775a0480aaaa02f31227ee3b640f20e25109 /tools/lib/python/kdoc/python_version.py | |
| parent | 61527d7e6998e87b3acd04f1cd2f4d6814385051 (diff) | |
| download | linux-next-562b6ed45db52934aaab9fbc856db3db79753155.tar.gz linux-next-562b6ed45db52934aaab9fbc856db3db79753155.zip | |
dmaengine: add dmaengine_desc_set_callback() helper
Add a dmaengine_desc_set_callback() inline helper that sets the
callback, callback_result, and callback_param fields of a
dma_async_tx_descriptor together in a single call.
Using this helper instead of open-coding the three field assignments
ensures all three related fields are always updated consistently and
makes call sites more readable.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20261002195410.213610-1-Frank.Li@oss.nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
