From 6b05f0015ae9ff069bd88c808d717ebe75543cba Mon Sep 17 00:00:00 2001 From: Won Jung Date: Mon, 24 Oct 2016 14:18:15 +0900 Subject: [PATCH] [COMMON] media: smfc: deactivate sysmmu for scaler sysmmu is deactivated to prevent sfr access by sysMMU, after smfc power domain is turned off. Change-Id: I19e6dc9504a78cb88d705c6ba07f3889e4570516 Signed-off-by: Won Jung --- drivers/media/platform/exynos/smfc/smfc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/exynos/smfc/smfc.c b/drivers/media/platform/exynos/smfc/smfc.c index 628953027d9d..824c44d93a8e 100644 --- a/drivers/media/platform/exynos/smfc/smfc.c +++ b/drivers/media/platform/exynos/smfc/smfc.c @@ -1004,6 +1004,8 @@ static void exynos_smfc_shutdown(struct platform_device *pdev) smfc->flags |= SMFC_DEV_SUSPENDING; spin_unlock_irqrestore(&smfc->flag_lock, flags); wait_event(smfc_suspend_wq, !(smfc->flags & SMFC_DEV_SUSPENDING)); + + iovmm_deactivate(&pdev->dev); } static const struct dev_pm_ops exynos_smfc_pm_ops = { -- 2.20.1