[COMMON] fimc-is2: fix a build error about tdnr using case
authorWooyeon Kim <wooy88.kim@samsung.com>
Mon, 23 Jul 2018 05:22:46 +0000 (14:22 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:06:25 +0000 (17:06 +0900)
 PR JIRA ID: CPR-78

Change-Id: I25b5f615bb0e9f5b2f8504e353858a309680046b
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-tdnr-v2.c

index 607dc96f181f62be6342e96b8d808fdf42a9db1a..1eabaaac9dd5b163e5f12c932a870e4561231036 100644 (file)
@@ -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