From 0d4b71b3f26eccd8e25cdf1ffe7f92796d8a80c4 Mon Sep 17 00:00:00 2001 From: Sanghoon Lee Date: Tue, 19 Jun 2018 16:45:44 +0900 Subject: [PATCH] [HACK][COMMON] fimc-is2: Skip to select DVFS scenario for VRA in reprocessing instance When user opens VRA within reprocessing stream, it should not trigger the DVFS level change because DVFS level is decided by ischain scenario that is before VRA. Change-Id: I5dd1484fe4e1f87ae2935dd9bfff703f1c02a3ba Signed-off-by: Sanghoon Lee --- drivers/media/platform/exynos/fimc-is2/fimc-is-dvfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos/fimc-is2/fimc-is-dvfs.c b/drivers/media/platform/exynos/fimc-is2/fimc-is-dvfs.c index baecbe6e054e..3213c505537b 100644 --- a/drivers/media/platform/exynos/fimc-is2/fimc-is-dvfs.c +++ b/drivers/media/platform/exynos/fimc-is2/fimc-is-dvfs.c @@ -306,7 +306,7 @@ int fimc_is_dvfs_sel_dynamic(struct fimc_is_device_ischain *device, struct fimc_ } } - if (!test_bit(FIMC_IS_ISCHAIN_REPROCESSING, &device->state)) + if (!test_bit(FIMC_IS_ISCHAIN_REPROCESSING, &device->state) || group->id == GROUP_ID_VRA0) return -EAGAIN; position = fimc_is_sensor_g_position(device->sensor); -- 2.20.1