diff options
-rw-r--r-- | drivers/crypto/ux500/cryp/cryp_core.c | 5 | ||||
-rw-r--r-- | drivers/crypto/ux500/hash/hash_core.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c index 7051e000163b..7cac12793a4b 100644 --- a/drivers/crypto/ux500/cryp/cryp_core.c +++ b/drivers/crypto/ux500/cryp/cryp_core.c | |||
@@ -542,8 +542,7 @@ static int cryp_set_dma_transfer(struct cryp_ctx *ctx, | |||
542 | desc = channel->device->device_prep_slave_sg(channel, | 542 | desc = channel->device->device_prep_slave_sg(channel, |
543 | ctx->device->dma.sg_src, | 543 | ctx->device->dma.sg_src, |
544 | ctx->device->dma.sg_src_len, | 544 | ctx->device->dma.sg_src_len, |
545 | direction, | 545 | direction, DMA_CTRL_ACK, NULL); |
546 | DMA_CTRL_ACK); | ||
547 | break; | 546 | break; |
548 | 547 | ||
549 | case DMA_FROM_DEVICE: | 548 | case DMA_FROM_DEVICE: |
@@ -569,7 +568,7 @@ static int cryp_set_dma_transfer(struct cryp_ctx *ctx, | |||
569 | ctx->device->dma.sg_dst_len, | 568 | ctx->device->dma.sg_dst_len, |
570 | direction, | 569 | direction, |
571 | DMA_CTRL_ACK | | 570 | DMA_CTRL_ACK | |
572 | DMA_PREP_INTERRUPT); | 571 | DMA_PREP_INTERRUPT, NULL); |
573 | 572 | ||
574 | desc->callback = cryp_dma_out_callback; | 573 | desc->callback = cryp_dma_out_callback; |
575 | desc->callback_param = ctx; | 574 | desc->callback_param = ctx; |
diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c index cc6a371a2708..77f7508b6099 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c | |||
@@ -174,7 +174,7 @@ static int hash_set_dma_transfer(struct hash_ctx *ctx, struct scatterlist *sg, | |||
174 | "(TO_DEVICE)", __func__); | 174 | "(TO_DEVICE)", __func__); |
175 | desc = channel->device->device_prep_slave_sg(channel, | 175 | desc = channel->device->device_prep_slave_sg(channel, |
176 | ctx->device->dma.sg, ctx->device->dma.sg_len, | 176 | ctx->device->dma.sg, ctx->device->dma.sg_len, |
177 | direction, DMA_CTRL_ACK | DMA_PREP_INTERRUPT); | 177 | direction, DMA_CTRL_ACK | DMA_PREP_INTERRUPT, NULL); |
178 | if (!desc) { | 178 | if (!desc) { |
179 | dev_err(ctx->device->dev, | 179 | dev_err(ctx->device->dev, |
180 | "[%s]: device_prep_slave_sg() failed!", __func__); | 180 | "[%s]: device_prep_slave_sg() failed!", __func__); |