Thread (5 messages) 5 messages, 4 authors, 2018-01-18

[PATCH] crypto: marvell/cesa - Fix DMA API misuse

From: hch@lst.de (Christoph Hellwig)
Date: 2018-01-10 15:48:21
Also in: linux-crypto, lkml

On Wed, Jan 10, 2018 at 04:25:22PM +0100, Boris Brezillon wrote:
On Wed, 10 Jan 2018 15:15:43 +0000
Robin Murphy [off-list ref] wrote:
quoted
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 <redacted>
Thanks.  Robin, Boris: do you want me to pick this up in the
dma-mapping tree and move it before the dma-direct.h introduction?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help