diff options
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/exynos-iommu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 80bad32aa463..7fe44f83cc37 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c | |||
@@ -840,8 +840,7 @@ static void exynos_iommu_detach_device(struct iommu_domain *domain, | |||
840 | if (__exynos_sysmmu_disable(data)) { | 840 | if (__exynos_sysmmu_disable(data)) { |
841 | dev_dbg(dev, "%s: Detached IOMMU with pgtable %#lx\n", | 841 | dev_dbg(dev, "%s: Detached IOMMU with pgtable %#lx\n", |
842 | __func__, __pa(priv->pgtable)); | 842 | __func__, __pa(priv->pgtable)); |
843 | list_del(&data->node); | 843 | list_del_init(&data->node); |
844 | INIT_LIST_HEAD(&data->node); | ||
845 | 844 | ||
846 | } else { | 845 | } else { |
847 | dev_dbg(dev, "%s: Detaching IOMMU with pgtable %#lx delayed", | 846 | dev_dbg(dev, "%s: Detaching IOMMU with pgtable %#lx delayed", |