crypto: ux500 - Update error message for dmaengine_prep_slave_sg() API
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 4 Mar 2015 09:19:30 +0000 (10:19 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Mar 2015 11:51:28 +0000 (22:51 +1100)
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>
drivers/crypto/ux500/hash/hash_core.c

index 187a8fd7eee7f5ece139b67cc44cef9b483773ef..5f5f360628fc443aace79138d0b63c7f267b9148 100644 (file)
@@ -184,7 +184,7 @@ static int hash_set_dma_transfer(struct hash_ctx *ctx, struct scatterlist *sg,
                        direction, DMA_CTRL_ACK | DMA_PREP_INTERRUPT);
        if (!desc) {
                dev_err(ctx->device->dev,
-                       "%s: device_prep_slave_sg() failed!\n", __func__);
+                       "%s: dmaengine_prep_slave_sg() failed!\n", __func__);
                return -EFAULT;
        }