diff options
| author | Frank Li <Frank.Li@nxp.com> | 2026-09-29 15:06:05 -0400 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-10-13 15:55:40 +0200 |
| commit | 0f6be986ad0eb6fe7338d963a14eaf0dee87677d (patch) | |
| tree | fdb5609a8688dc6868e06ca73ac60cde245e7bd8 /tools/lib/python | |
| parent | 38f5659310d94a81d512caab85cbc04993b870eb (diff) | |
| download | linux-next-0f6be986ad0eb6fe7338d963a14eaf0dee87677d.tar.gz linux-next-0f6be986ad0eb6fe7338d963a14eaf0dee87677d.zip | |
i2c: imx-lpi2c: remove dmaengine_desc_free()
dmaengine_desc_free() is designed for DMA_CTRL_REUSE. If DMA_CTRL_REUSE
is not set, dmaengine_desc_free() will return -EPERM.
if (!dmaengine_desc_test_reuse(desc))
return -EPERM;
So calling dmaengine_desc_free() does nothing. dmaengine_terminate_(a)sync()
will free all already allocated descriptors.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Carlos Song <carlos.song@nxp.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://patch.msgid.link/20260929190605.3516147-1-Frank.Li@oss.nxp.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
