Multiple SysMMUs can be the child node of same power domain.
In really_probe(), it tries to disable the power domain after calling
probe() if pm_runtime_suspend() of child node is true.
So calling pm_runtime_enable() before SFR access in sysmmu_probe() would
make external abort because it allows to be powered off.
Change-Id: I3f46b300afc5ca15300561eb4cf55837f29a50ab
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
platform_set_drvdata(pdev, data);
- pm_runtime_enable(dev);
-
ret = exynos_iommu_init_event_log(SYSMMU_DRVDATA_TO_LOG(data),
SYSMMU_LOG_LEN);
if (!ret)
return ret;
}
+ pm_runtime_enable(dev);
+
dev_info(data->sysmmu, "is probed. Version %d.%d.%d\n",
MMU_MAJ_VER(data->version),
MMU_MIN_VER(data->version),