diff options
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/ux500/cryp/cryp_core.c | 4 | ||||
-rw-r--r-- | drivers/crypto/ux500/hash/hash_core.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c index 4f8b11af29a6..8e9dc05705a9 100644 --- a/drivers/crypto/ux500/cryp/cryp_core.c +++ b/drivers/crypto/ux500/cryp/cryp_core.c | |||
@@ -607,12 +607,12 @@ static void cryp_dma_done(struct cryp_ctx *ctx) | |||
607 | dev_dbg(ctx->device->dev, "[%s]: ", __func__); | 607 | dev_dbg(ctx->device->dev, "[%s]: ", __func__); |
608 | 608 | ||
609 | chan = ctx->device->dma.chan_mem2cryp; | 609 | chan = ctx->device->dma.chan_mem2cryp; |
610 | chan->device->device_control(chan, DMA_TERMINATE_ALL, 0); | 610 | dmaengine_device_control(chan, DMA_TERMINATE_ALL, 0); |
611 | dma_unmap_sg(chan->device->dev, ctx->device->dma.sg_src, | 611 | dma_unmap_sg(chan->device->dev, ctx->device->dma.sg_src, |
612 | ctx->device->dma.sg_src_len, DMA_TO_DEVICE); | 612 | ctx->device->dma.sg_src_len, DMA_TO_DEVICE); |
613 | 613 | ||
614 | chan = ctx->device->dma.chan_cryp2mem; | 614 | chan = ctx->device->dma.chan_cryp2mem; |
615 | chan->device->device_control(chan, DMA_TERMINATE_ALL, 0); | 615 | dmaengine_device_control(chan, DMA_TERMINATE_ALL, 0); |
616 | dma_unmap_sg(chan->device->dev, ctx->device->dma.sg_dst, | 616 | dma_unmap_sg(chan->device->dev, ctx->device->dma.sg_dst, |
617 | ctx->device->dma.sg_dst_len, DMA_FROM_DEVICE); | 617 | ctx->device->dma.sg_dst_len, DMA_FROM_DEVICE); |
618 | } | 618 | } |
diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c index cffe26ea716f..58d6fcfe2d0f 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c | |||
@@ -203,7 +203,7 @@ static void hash_dma_done(struct hash_ctx *ctx) | |||
203 | struct dma_chan *chan; | 203 | struct dma_chan *chan; |
204 | 204 | ||
205 | chan = ctx->device->dma.chan_mem2hash; | 205 | chan = ctx->device->dma.chan_mem2hash; |
206 | chan->device->device_control(chan, DMA_TERMINATE_ALL, 0); | 206 | dmaengine_device_control(chan, DMA_TERMINATE_ALL, 0); |
207 | dma_unmap_sg(chan->device->dev, ctx->device->dma.sg, | 207 | dma_unmap_sg(chan->device->dev, ctx->device->dma.sg, |
208 | ctx->device->dma.sg_len, DMA_TO_DEVICE); | 208 | ctx->device->dma.sg_len, DMA_TO_DEVICE); |
209 | 209 | ||