From 2d443dac20c18f2f353304f84257424619125e9a Mon Sep 17 00:00:00 2001 From: Sunmi Lee Date: Tue, 3 Jul 2018 20:13:51 +0900 Subject: [PATCH] [COMMON] fimc-is2: Added new function to keep compatibility - djag_wb_thres Added djag related function for mcsc v4.0 and v4.10. PR JIRA ID: CPR-31 Change-Id: Ia3f53556a5b70f38a4a1ac00153206eafc50df37 Signed-off-by: Sunmi Lee --- .../fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v410.c | 5 +++++ .../fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v4_0.c | 5 +++++ 2 files changed, 10 insertions(+) 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 573e047ceea4..92de049428c1 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 @@ -3794,6 +3794,11 @@ void fimc_is_scaler_set_djag_tunning_param(void __iomem *base_addr, const struct /* not support */ } +void fimc_is_scaler_set_djag_wb_thres(void __iomem *base_addr, struct djag_wb_thres_cfg *djag_wb) +{ + /* not supported */ +} + /* for CAC */ void fimc_is_scaler_set_cac_enable(void __iomem *base_addr, u32 en) { diff --git a/drivers/media/platform/exynos/fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v4_0.c b/drivers/media/platform/exynos/fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v4_0.c index af6a4bba84d6..8e5c6589e0c9 100644 --- a/drivers/media/platform/exynos/fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v4_0.c +++ b/drivers/media/platform/exynos/fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v4_0.c @@ -3845,6 +3845,11 @@ void fimc_is_scaler_set_djag_tunning_param(void __iomem *base_addr, const struct fimc_is_hw_set_reg(base_addr, &mcsc_regs[MCSC_R_DJAG_CP_ARBI], reg_value); } +void fimc_is_scaler_set_djag_wb_thres(void __iomem *base_addr, struct djag_wb_thres_cfg *djag_wb) +{ + /* not supported */ +} + /* for CAC */ void fimc_is_scaler_set_cac_enable(void __iomem *base_addr, u32 en) { -- 2.20.1