[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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:32 +0000 (20:22 +0300)
commitf339128a741f9e946ce38ce17d4e775136b88fd7
treeb5ea6623dc9e7ac02fcdf990576104f245532b8f
parentd94e2b9ed41c66bff71863ff68f79475fb1cc4ed
[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