|
@@ -209,10 +209,7 @@ mv_desc_run_tx_complete_actions(struct mv_xor_desc_slot *desc,
|
|
|
/* call the callback (must not sleep or submit new
|
|
|
* operations to this channel)
|
|
|
*/
|
|
|
- if (desc->async_tx.callback)
|
|
|
- desc->async_tx.callback(
|
|
|
- desc->async_tx.callback_param);
|
|
|
-
|
|
|
+ dmaengine_desc_get_callback_invoke(&desc->async_tx, NULL);
|
|
|
dma_descriptor_unmap(&desc->async_tx);
|
|
|
}
|
|
|
|