crypto: marvell/cesa - Fix DMA API misuse
authorRobin Murphy <robin.murphy@arm.com>
Wed, 10 Jan 2018 15:15:43 +0000 (15:15 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jan 2018 11:52:27 +0000 (22:52 +1100)
commit37d728f76c41ab819a9fd31d701de55102559484
treef3c42d9ecdb6f34819da5b3793cd95dd7e4677f1
parent2273f42df1a52bb3aa827163e285528afbf7616c
crypto: marvell/cesa - Fix DMA API misuse

phys_to_dma() is an internal helper for certain DMA API implementations,
and is not appropriate for drivers to use. It appears that what the CESA
driver really wants to be using is dma_map_resource() - admittedly that
didn't exist when the offending code was first merged, but it does now.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/cesa.c