OSDN Git Service

dma-direct: use phys_to_dma
authorChristoph Hellwig <hch@lst.de>
Fri, 22 Dec 2017 10:29:51 +0000 (11:29 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Jan 2018 08:35:07 +0000 (09:35 +0100)
commit2e86a04780c6ebb64581013054f8260d040c2c9e
tree1c23502a9a6028af87eed2015c33c90e662c681e
parent002e67454f61bb67d8071ac4d0cacb86a01d18e0
dma-direct: use phys_to_dma

This means it uses whatever linear remapping scheme that the architecture
provides is used in the generic dma_direct ops.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
lib/dma-direct.c