From: Wooyeon Kim Date: Thu, 13 Dec 2018 10:17:28 +0000 (+0900) Subject: [RAMEN9610-9493][HACK][9610] fimc-is2: c2 disable when camera operated X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=12723810773987e47bd4af26c25df87f2260e765;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [RAMEN9610-9493][HACK][9610] fimc-is2: c2 disable when camera operated PR JIRA ID: CPR-501 Change-Id: I2f57ed76f3aeaecc0a04be853d429a7883d40c1f Signed-off-by: Wooyeon Kim --- 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();