[PATCH] crypto: marvell/cesa - Fix DMA API misuse
From: herbert@gondor.apana.org.au (Herbert Xu)
Date: 2018-01-18 12:06:23
Also in:
linux-crypto, lkml
From: herbert@gondor.apana.org.au (Herbert Xu)
Date: 2018-01-18 12:06:23
Also in:
linux-crypto, lkml
On Wed, Jan 10, 2018 at 03:15:43PM +0000, Robin Murphy wrote:
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>
Patch applied. Thanks. -- Email: Herbert Xu [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt