mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
crypto: ux500: use dmaengine_submit API
Use dmaengine_submit instead of calling desc->tx_submit manually. Signed-off-by: Fabio Baltieri <[email protected]> Acked-by: Herbert Xu <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
7e933d3b1e
commit
0656848329
2 changed files with 2 additions and 2 deletions
|
|
@ -594,7 +594,7 @@ static int cryp_set_dma_transfer(struct cryp_ctx *ctx,
|
|||
return -EFAULT;
|
||||
}
|
||||
|
||||
cookie = desc->tx_submit(desc);
|
||||
cookie = dmaengine_submit(desc);
|
||||
dma_async_issue_pending(channel);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ static int hash_set_dma_transfer(struct hash_ctx *ctx, struct scatterlist *sg,
|
|||
desc->callback = hash_dma_callback;
|
||||
desc->callback_param = ctx;
|
||||
|
||||
cookie = desc->tx_submit(desc);
|
||||
cookie = dmaengine_submit(desc);
|
||||
dma_async_issue_pending(channel);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue