]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dmaengine: dw-edma: Set status for callback_result
authorDevendra K Verma <devverma@amd.com>
Thu, 21 Aug 2025 12:15:05 +0000 (17:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Dec 2025 11:45:11 +0000 (12:45 +0100)
commitb8461af1f2e314cf299243f7c71c3eda9941c398
treeafc6b7c2f04dc93f1438ed4191c89598a6781bea
parent99eb4e5dca0617d06d216e5247648daeecad9072
dmaengine: dw-edma: Set status for callback_result

[ Upstream commit 5e742de97c806a4048418237ef1283e7d71eaf4b ]

DMA Engine has support for the callback_result which provides
the status of the request and the residue. This helps in
determining the correct status of the request and in
efficient resource management of the request.
The 'callback_result' method is preferred over the deprecated
'callback' method.

Signed-off-by: Devendra K Verma <devverma@amd.com>
Link: https://lore.kernel.org/r/20250821121505.318179-1-devverma@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/dw-edma/dw-edma-core.c