[COMMON] fimc-is2: fix a TDNR wrong SFR update area at MCSC v410
authorWooyeon Kim <wooy88.kim@samsung.com>
Mon, 11 Jun 2018 09:08:42 +0000 (18:08 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:32 +0000 (20:22 +0300)
Change-Id: I9a4c6c587fd0f8b3781e56d5ef1cc8d7e95dbe00
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
drivers/media/platform/exynos/fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v410.c

index 8824955a0a84815c2081a9c697b911cdc4d6367a..77c3038bf4a7b3d9839858e629e1265d30b6797d 100644 (file)
@@ -3291,7 +3291,7 @@ void fimc_is_scaler_set_tdnr_tuneset_yuvtable(void __iomem *base_addr, struct yu
        reg_value = fimc_is_hw_set_field_value(reg_value, &mcsc_fields[MCSC_F_TDNR_U_X_SLOPE_2],
                        config.u_std_slope[ARR4_VAL3]);
        reg_value = fimc_is_hw_set_field_value(reg_value, &mcsc_fields[MCSC_F_TDNR_U_X_SLOPE_3],
-                       config.u_std_slope[ARR4_VAL3]);
+                       config.u_std_slope[ARR4_VAL4]);
        fimc_is_hw_set_reg(base_addr, &mcsc_regs[MCSC_R_TDNR_U_STD_SLOPE_1], reg_value);