From: Cho KyongHo Date: Mon, 12 May 2014 06:14:52 +0000 (+0530) Subject: iommu/exynos: Always enable runtime PM X-Git-Tag: android-x86-4.4-r2~1058^2~8^2^5~17 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f4723ec1723c0925c4191f5f33192ec09c6164f8;p=android-x86%2Fkernel.git 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 Signed-off-by: Shaik Ameer Basha Signed-off-by: Joerg Roedel --- 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;