iommu/exynos: Always enable runtime PM
authorCho KyongHo <pullip.cho@samsung.com>
Mon, 12 May 2014 06:14:52 +0000 (11:44 +0530)
committerJoerg Roedel <jroedel@suse.de>
Tue, 13 May 2014 17:12:54 +0000 (19:12 +0200)
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>
drivers/iommu/exynos-iommu.c

index 6915235f9e8682cf91b6d90942fa3238b96db24d..ef771a22c09d2c31591fd98eb6c2abffbca97e3a 100644 (file)
@@ -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;