drm/exynos: fix to detach device of iommu
authorJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 2 Oct 2015 00:30:38 +0000 (09:30 +0900)
committerInki Dae <daeinki@gmail.com>
Mon, 26 Oct 2015 06:10:30 +0000 (15:10 +0900)
commit4d91a855989af53b81f1ad7a82250d973f9b7b01
tree9f403941c3a70fc460c90aed773dcfd78c481c97
parent323db0ed7de21dff93affd51c4c742a3dec1c103
drm/exynos: fix to detach device of iommu

The arm_iommu_detach_device() is a function to detach device of iommu
attached by arm_iommu_attach_device(). The exynos-drm uses
arm_iommu_attach_device() so it should use arm_iommu_detach_device() to
detach device of iommu, not iommu_detach_device().

The drm_release_iommu_mapping() is a function to release mapping of
iommu created by arm_iommu_create_mapping(). It is called by
exynos_drm_unload() so shouldn't be called by drm_iommu_detach_device().

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_iommu.c