iommu/exynos: Add/remove callbacks should fail if no iommu is available
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 19 May 2015 13:20:32 +0000 (15:20 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 29 May 2015 08:49:43 +0000 (10:49 +0200)
commit06801db0d3bba2b4e585130981fadf71bbce4159
treecaf45baa2e7184da495ad5a51b50316c13e9523f
parent2860af3c8f7ac9e2569378653c3948c422bd30c2
iommu/exynos: Add/remove callbacks should fail if no iommu is available

Return fail if given master device passed to add_device/remove_device
callbacks doesn't has associated any sysmmu controller.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c