ARM: dma-mapping: Return 0 if no ->set_dma_mask()
authorHiroshi Doyu <hdoyu@nvidia.com>
Fri, 25 Jan 2013 11:41:23 +0000 (13:41 +0200)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:56:40 +0000 (12:56 -0700)
commit318124537c570c273441e8a16605e2a1802b2ffc
tree2d79a58273c56024b3007f8d4ee09169bc76476d
parentea53ff42a8cacda8a75c463c824d3e31886dd6ad
ARM: dma-mapping: Return 0 if no ->set_dma_mask()

An IOMMU'able device doesn't use dma_mask.

bug 1222494

Change-Id: Iaca6aeb3bebf122cd8f436cf4ccf8c863feb1672
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/194142
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
arch/arm/include/asm/dma-mapping.h