It is a fixup for fallowing patch:
| commit ef4144b4ab6301d7417af3eb4d79cfc66bf0e731
| Date:   Wed Mar 22 10:14:37 2017 +0100
|
|    crypto: caam - fix RNG buffer cache alignmen

Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de>
---
 drivers/crypto/caam/caamrng.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/caam/caamrng.c b/drivers/crypto/caam/caamrng.c
index 31a92731d2..a991cc855a 100644
--- a/drivers/crypto/caam/caamrng.c
+++ b/drivers/crypto/caam/caamrng.c
@@ -218,7 +218,7 @@ static int caam_init_buf(struct caam_rng_ctx *ctx, int 
buf_id)
        struct buf_data *bd = &ctx->bufs[buf_id];
        int err;
 
-       bd->buf = dma_alloc(RN_BUF_SIZE);
+       bd->buf = dma_alloc_coherent(RN_BUF_SIZE, DMA_ADDRESS_BROKEN);
 
        err = rng_create_job_desc(ctx, buf_id);
        if (err)
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to