iommu/exynos: Support multiple attach_device calls
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 18 Feb 2016 14:13:00 +0000 (15:13 +0100)
committerJoerg Roedel <jroedel@suse.de>
Thu, 25 Feb 2016 14:32:11 +0000 (15:32 +0100)
commit5fa61cbff16224ef8595102552ca49b2c6775ab4
tree73839db342ce9b0ba356a8367c05cd5eb89cd4fb
parent9b93a409fd317be25dca7118163efe74154bc9e7
iommu/exynos: Support multiple attach_device calls

IOMMU core calls attach_device callback without detaching device from
the previous domain. This patch adds support for such unballanced calls.

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