From ba27d5115d76ed36991e81dc3bc07c0ada6e0d5e Mon Sep 17 00:00:00 2001 From: Wooyeon Kim Date: Thu, 13 Dec 2018 19:17:28 +0900 Subject: [PATCH] [RAMEN9610-9493][HACK][9610] fimc-is2: c2 disable when camera operated PR JIRA ID: CPR-501 Change-Id: I2f57ed76f3aeaecc0a04be853d429a7883d40c1f Signed-off-by: Wooyeon Kim --- drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c b/drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c index a222bdd142ab..3a2785e7f765 100644 --- a/drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c +++ b/drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c @@ -1444,7 +1444,7 @@ int fimc_is_resource_get(struct fimc_is_resourcemgr *resourcemgr, u32 rsc_type) set_bit(FIMC_IS_RM_ISC_POWER_ON, &resourcemgr->state); set_bit(FIMC_IS_RM_POWER_ON, &resourcemgr->state); -#if defined(CONFIG_SOC_EXYNOS8895) +#if defined(CONFIG_SOC_EXYNOS8895) || defined(CONFIG_SOC_EXYNOS9610) /* HACK for 8895, cpuidle on/off */ info("%s: call cpuidle_pause()\n", __func__); cpuidle_pause(); @@ -1617,7 +1617,7 @@ int fimc_is_resource_put(struct fimc_is_resourcemgr *resourcemgr, u32 rsc_type) clear_bit(FIMC_IS_RM_ISC_POWER_ON, &resourcemgr->state); -#if defined(CONFIG_SOC_EXYNOS8895) +#if defined(CONFIG_SOC_EXYNOS8895) || defined(CONFIG_SOC_EXYNOS9610) /* HACK for 8895, cpuidle on/off */ info("%s: call cpuidle_resume()\n", __func__); cpuidle_resume(); -- 2.20.1