dma-mapping: add dma_{map,unmap}_resource
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 10 Aug 2016 11:22:16 +0000 (13:22 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 26 Sep 2016 16:46:41 +0000 (22:16 +0530)
commit6f3d87968f9c8b529bc81eff5a1f45e92553493d
tree977a550789b14f198154488a9c105cc2049c6b50
parent0e74b34dfc3318bf4c7e51349d453d49fb8e9e16
dma-mapping: add dma_{map,unmap}_resource

Map/Unmap a device MMIO resource from a physical address. If no dma_map_ops
method is available the operation is a no-op.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/DMA-API.txt
include/linux/dma-mapping.h