diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-03-04 04:19:30 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-06 06:51:28 -0500 |
commit | 8e2e2769042f08eb49f630b5db87fce03696a415 (patch) | |
tree | 33d0ef48801da1ecdd51c54e3b10e935bc069253 | |
parent | b3988618e0463cf9af30ac1b42b2601993be7c70 (diff) |
crypto: ux500 - Update error message for dmaengine_prep_slave_sg() API
Commit 7e933d3b1e25b250 ("crypto: ux500: use dmaengine_prep_slave_sg
API") changed the code to use the new API, but forgot to update an error
message.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | drivers/crypto/ux500/hash/hash_core.c | 2 |
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 187a8fd7eee7..5f5f360628fc 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c | |||
@@ -184,7 +184,7 @@ static int hash_set_dma_transfer(struct hash_ctx *ctx, struct scatterlist *sg, | |||
184 | direction, DMA_CTRL_ACK | DMA_PREP_INTERRUPT); | 184 | direction, DMA_CTRL_ACK | DMA_PREP_INTERRUPT); |
185 | if (!desc) { | 185 | if (!desc) { |
186 | dev_err(ctx->device->dev, | 186 | dev_err(ctx->device->dev, |
187 | "%s: device_prep_slave_sg() failed!\n", __func__); | 187 | "%s: dmaengine_prep_slave_sg() failed!\n", __func__); |
188 | return -EFAULT; | 188 | return -EFAULT; |
189 | } | 189 | } |
190 | 190 | ||