]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: Implement set_arch_dma_coherent_ops() to replace bus notifiers
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 22 Sep 2014 10:48:31 +0000 (11:48 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 22 Sep 2014 10:48:31 +0000 (11:48 +0100)
commit2189064795dc3fb4101e5c34d28c6b62b8a3bfd9
tree1c2dc5e758dd6aae85d2c48d7f7485415a6f614b
parentc9d571bee9628bc925253a21ea5943707aadb5f1
arm64: Implement set_arch_dma_coherent_ops() to replace bus notifiers

Commit 6ecba8eb51b7 (arm64: Use bus notifiers to set per-device coherent
DMA ops) introduced bus notifiers to set the coherent dma ops based on
the 'dma-coherent' DT property. Since the generic of_dma_configure()
handles this property for platform and AMBA devices, replace the
notifiers with set_arch_dma_coherent_ops().

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/dma-mapping.h
arch/arm64/mm/dma-mapping.c