From: Wooyeon Kim Date: Mon, 11 Jun 2018 09:08:42 +0000 (+0900) Subject: [COMMON] fimc-is2: fix a TDNR wrong SFR update area at MCSC v410 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c561399c0bc37c37da9cb0b9029378bec5caf2b3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] fimc-is2: fix a TDNR wrong SFR update area at MCSC v410 Change-Id: I9a4c6c587fd0f8b3781e56d5ef1cc8d7e95dbe00 Signed-off-by: Wooyeon Kim --- diff --git a/drivers/media/platform/exynos/fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v410.c b/drivers/media/platform/exynos/fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v410.c index 8824955a0a84..77c3038bf4a7 100644 --- a/drivers/media/platform/exynos/fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v410.c +++ b/drivers/media/platform/exynos/fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v410.c @@ -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);