summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/exynos-iommu.c
diff options
context:
space:
mode:
authorCho KyongHo2014-05-12 08:14:52 +0200
committerJoerg Roedel2014-05-13 19:12:54 +0200
commitf4723ec1723c0925c4191f5f33192ec09c6164f8 (patch)
tree3d9f157366b7166636603c57769a65a48c4c4f0e /drivers/iommu/exynos-iommu.c
parentiommu/exynos: Add missing cache flush for removed page table entries (diff)
downloadkernel-qcow2-linux-f4723ec1723c0925c4191f5f33192ec09c6164f8.tar.gz
kernel-qcow2-linux-f4723ec1723c0925c4191f5f33192ec09c6164f8.tar.xz
kernel-qcow2-linux-f4723ec1723c0925c4191f5f33192ec09c6164f8.zip
iommu/exynos: Always enable runtime PM
Checking if the probing device has a parent device was just to discover if the probing device is involved in a power domain when the power domain controlled by Samsung's custom implementation. Since generic IO power domain is applied, it is required to remove the condition to see if the probing device has a parent device. Signed-off-by: Cho KyongHo <pullip.cho@samsung.com> Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/exynos-iommu.c')
-rw-r--r--drivers/iommu/exynos-iommu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 6915235f9e86..ef771a22c09d 100644
--- a/drivers/iommu/exynos-iommu.c
+++ b/drivers/iommu/exynos-iommu.c
@@ -558,8 +558,7 @@ static int exynos_sysmmu_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, data);
- if (dev->parent)
- pm_runtime_enable(dev);
+ pm_runtime_enable(dev);
dev_dbg(dev, "(%s) Initialized\n", data->dbgname);
return 0;