aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/ux500/cryp/cryp_core.c2
-rw-r--r--drivers/crypto/ux500/hash/hash_core.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c
index 19a3a60706fc..0257f6b32642 100644
--- a/drivers/crypto/ux500/cryp/cryp_core.c
+++ b/drivers/crypto/ux500/cryp/cryp_core.c
@@ -594,7 +594,7 @@ static int cryp_set_dma_transfer(struct cryp_ctx *ctx,
594 return -EFAULT; 594 return -EFAULT;
595 } 595 }
596 596
597 cookie = desc->tx_submit(desc); 597 cookie = dmaengine_submit(desc);
598 dma_async_issue_pending(channel); 598 dma_async_issue_pending(channel);
599 599
600 return 0; 600 return 0;
diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c
index ba2ed2110664..95490f14ddb8 100644
--- a/drivers/crypto/ux500/hash/hash_core.c
+++ b/drivers/crypto/ux500/hash/hash_core.c
@@ -192,7 +192,7 @@ static int hash_set_dma_transfer(struct hash_ctx *ctx, struct scatterlist *sg,
192 desc->callback = hash_dma_callback; 192 desc->callback = hash_dma_callback;
193 desc->callback_param = ctx; 193 desc->callback_param = ctx;
194 194
195 cookie = desc->tx_submit(desc); 195 cookie = dmaengine_submit(desc);
196 dma_async_issue_pending(channel); 196 dma_async_issue_pending(channel);
197 197
198 return 0; 198 return 0;