summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2012-04-19 14:50:07 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:04:40 +0200
commit7ab5ecfab5802502955e1a9789eeb8e2fc3a985f (patch)
treeda1689b8420b6d60fc2938f06de68df9b1071b8c
parentaeb2742534db86281ed3a6dfc295888c4893f4a2 (diff)
crypto: ux500: hash: device_prep_slave_sg() has a new context param in 3.4security
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
-rw-r--r--drivers/crypto/ux500/hash/hash_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c
index 9cc50e91c9e..05a06b00ca0 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,
"(TO_DEVICE)", __func__);
desc = channel->device->device_prep_slave_sg(channel,
ctx->device->dma.sg, ctx->device->dma.sg_len,
- direction, DMA_CTRL_ACK | DMA_PREP_INTERRUPT);
+ direction, DMA_CTRL_ACK | DMA_PREP_INTERRUPT, ctx);
if (!desc) {
dev_err(ctx->device->dev,
"[%s]: device_prep_slave_sg() failed!", __func__);