[COMMON] iommu/exynos: move pm_runtime_enable() in probe
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Wed, 28 Feb 2018 07:50:28 +0000 (16:50 +0900)
committerEunyoung Lee <ey470.lee@samsung.com>
Wed, 20 Jun 2018 00:20:44 +0000 (09:20 +0900)
commitedbaa4faac0821a9eaab36bead943759c16723dc
treee40de1df321f2a2058148bd6077dc899e60d1f11
parentc4fffcb910d9401fff3a85c46e6b636712e5faea
[COMMON] iommu/exynos: move pm_runtime_enable() in probe

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>
drivers/iommu/exynos-iommu.c