]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6060b15c2a459eb1cf27781b62fcb1e89c557768
treedb3d511ddb830d951551a2504532f78b7188b582
parent301f807107b7b03a09c81609f1afc9fc18ed1375
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