ARM/dma-mapping: use dma_to_phys/phys_to_dma in the dma-mapping code
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Apr 2022 07:48:53 +0000 (09:48 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 7 Jul 2022 16:18:57 +0000 (18:18 +0200)
commitf9774cfd5062d69dc8ba522369638f919c35391e
treedb3d511ddb830d951551a2504532f78b7188b582
parentd6e2e92597ed2036206b084e94828403d7fb14a6
ARM/dma-mapping: use dma_to_phys/phys_to_dma in the dma-mapping code

Use the helpers as expected by the dma-direct code in the old arm
dma-mapping code to ease a gradual switch to the common DMA code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Marc Zyngier <maz@kernel.org>
arch/arm/mm/dma-mapping.c