[RAMEN9610-9493][HACK][9610] fimc-is2: c2 disable when camera operated
authorWooyeon Kim <wooy88.kim@samsung.com>
Thu, 13 Dec 2018 10:17:28 +0000 (19:17 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:09 +0000 (20:23 +0300)
 PR JIRA ID: CPR-501

Change-Id: I2f57ed76f3aeaecc0a04be853d429a7883d40c1f
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c

index a222bdd142abd717a38097dc87faa2f220c0daf3..3a2785e7f765146decf0d58e45bd7f5735512f55 100644 (file)
@@ -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();