Commit 5a80aff9 authored by Hanna Hawa's avatar Hanna Hawa Committed by Vinod Koul

dmaengine: mv_xor_v2: convert callback to helper function

This is in preparation of moving to a callback that provides results to the
callback for the transaction. The conversion will maintain current behavior
and the driver must convert to new callback mechanism at a later time in
order to receive results.
Signed-off-by: default avatarHanna Hawa <hannah@marvell.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 8bbafed8
...@@ -589,9 +589,8 @@ static void mv_xor_v2_tasklet(unsigned long data) ...@@ -589,9 +589,8 @@ static void mv_xor_v2_tasklet(unsigned long data)
*/ */
dma_cookie_complete(&next_pending_sw_desc->async_tx); dma_cookie_complete(&next_pending_sw_desc->async_tx);
if (next_pending_sw_desc->async_tx.callback) dmaengine_desc_get_callback_invoke(
next_pending_sw_desc->async_tx.callback( &next_pending_sw_desc->async_tx, NULL);
next_pending_sw_desc->async_tx.callback_param);
dma_descriptor_unmap(&next_pending_sw_desc->async_tx); dma_descriptor_unmap(&next_pending_sw_desc->async_tx);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment