]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iommu/exynos: Fix warnings from DMA-debug
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 9 Jan 2017 12:03:54 +0000 (13:03 +0100)
committerJoerg Roedel <jroedel@suse.de>
Tue, 10 Jan 2017 14:01:21 +0000 (15:01 +0100)
commit0d6d3da46ac5949ab5d373fdecf4b4e85a04731c
tree2b3b85db1b414ccf077394baffeb589e4e73b5c8
parentec5d241b5f8b2d5f002070fd8fdbf71b6664bacb
iommu/exynos: Fix warnings from DMA-debug

Add a simple checks for dma_map_single() return value to make DMA-debug
checker happly. Exynos IOMMU on Samsung Exynos SoCs always use device,
which has linear DMA mapping ops (dma address is equal to physical memory
address), so no failures are returned from dma_map_single().

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c