From: Wooyeon Kim Date: Mon, 23 Jul 2018 05:22:46 +0000 (+0900) Subject: [COMMON] fimc-is2: fix a build error about tdnr using case X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9300cdc0ca5d17c8a7420346e6aee77c9b3f0d4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] fimc-is2: fix a build error about tdnr using case PR JIRA ID: CPR-78 Change-Id: I25b5f615bb0e9f5b2f8504e353858a309680046b Signed-off-by: Wooyeon Kim --- 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