[COMMON] iommu/exynos: remove rpm-enabled check in suspend/resume
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Thu, 19 May 2016 11:22:08 +0000 (20:22 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:19 +0000 (19:45 +0900)
commit9969150eed156b529498255931d1137d8fbe03ad
tree22b7c964a6d1ccbe3c59032eb31c80cbf138a6fd
parentc4b84f64dd4401baebb85dfd2d925b60e136063e
[COMMON] iommu/exynos: remove rpm-enabled check in suspend/resume

After removing CONFIG_PM_RUNTIME, pm_runtime_enabled() always returns
zero because sysmmu driver calls pm_runtime_enable() at probe time.
It results SFR access in suspend/resume callback even though power block
is off. To avoid SFR access, condition checking by pm_runtime_enabled()
is removed by this patch.

Change-Id: I2afea1ad4b3bdc57cb50d71423e44358b3023696
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/iommu/exynos-iommu.c