Skip to contentSkip to conversation

iommu/exynos: always enable runtime PM

PATCH NAK Cho KyongHo 1 participant 1 message Mar 14, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v11 7/27 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.

---
 drivers/iommu/exynos-iommu.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/iommu/exynos-iommu.c +1 -2
index bee1bb1..8dc7031 100644
@@ -632,8 +632,7 @@ static int exynos_sysmmu_probe(struct platform_device *pdev)
 
 	__set_fault_handler(data, &default_fault_handler);
 
-	if (dev->parent)
-		pm_runtime_enable(dev);
+	pm_runtime_enable(dev);
 
 	dev_dbg(dev, "(%s) Initialized\n", data->dbgname);
 	return 0;
Signature · 1 line
1.7.9.5