From b9300cdc0ca5d17c8a7420346e6aee77c9b3f0d4 Mon Sep 17 00:00:00 2001 From: Wooyeon Kim Date: Mon, 23 Jul 2018 14:22:46 +0900 Subject: [PATCH] [COMMON] fimc-is2: fix a build error about tdnr using case PR JIRA ID: CPR-78 Change-Id: I25b5f615bb0e9f5b2f8504e353858a309680046b Signed-off-by: Wooyeon Kim --- .../platform/exynos/fimc-is2/hardware/fimc-is-hw-tdnr-v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-tdnr-v2.c b/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-tdnr-v2.c index 607dc96f181f..1eabaaac9dd5 100644 --- a/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-tdnr-v2.c +++ b/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-tdnr-v2.c @@ -171,7 +171,7 @@ static int fimc_is_hw_mcsc_check_tdnr_mode_pre(struct fimc_is_hw_ip *hw_ip, */ #ifdef MCSC_DNR_USE_TUNING sensor_position = hw_ip->hardware->sensor_position[atomic_read(&hw_ip->instance)]; - tdnr_tuneset = &hw_mcsc->applied_setfile[sensor_position]->tdnr_contents; + tdnr_tuneset = &hw_mcsc->cur_setfile[sensor_position]->tdnr_contents; setfile_tdnr_enable = tdnr_tuneset->tdnr_enable; #endif -- 2.20.1