• Joonyoung Shim's avatar
    drm/exynos: fix to detach device of iommu · 4d91a855
    Joonyoung Shim authored
    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: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
    Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
    4d91a855
exynos_drm_iommu.c 3.44 KB