crypto: caam/qi - explicitly set dma_ops
authorHoria Geantă <horia.geanta@nxp.com>
Mon, 10 Jul 2017 05:40:33 +0000 (08:40 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Jul 2017 10:16:03 +0000 (18:16 +0800)
commit5747ff3091f7328a0c3e63eafedafe80d7953be8
treef81359b51ec89606f1eb365cb482babb4814e12b
parent36cda08f98b1a97159ae8b3b23937d9c324e5437
crypto: caam/qi - explicitly set dma_ops

Since ARM64 commit 1dccb598df549 ("arm64: simplify dma_get_ops"),
dma_ops no longer default to swiotlb_dma_ops, but to dummy_dma_ops.

dma_ops have to be explicitly set in the driver - at least for ARM64.

Fixes: 67c2315def06 ("crypto: caam - add Queue Interface (QI) backend support")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/qi.c