[COMMON] fimc-is2: Changed the name of variables of noise_index
authorSunmi Lee <carrotsm.lee@samsung.com>
Tue, 3 Jul 2018 00:35:55 +0000 (09:35 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:52 +0000 (20:22 +0300)
cur_noise_index -> cur_ni

PR JIRA ID: CPR-25

Change-Id: I97996e8612762cd4dc171d50cc4051b4866651ee
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.h
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-tdnr-v1.c
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-tdnr-v2.c

index 64da6b62e387c0e1277d7e8a925a2ed0fa35bc6a..f1b59f4ca11b5bc7983ea74d91d8f8e83f61117e 100644 (file)
@@ -177,7 +177,7 @@ struct fimc_is_hw_mcsc {
        ulong   out_en;         /* This flag save whether the capture video node of MCSC is opened or not. */
        u32     prev_hwfc_output_ids;
        /* noise_index also needs to use in TDNR, CAC, DJAG */
-       u32                     cur_noise_index;
+       u32                     cur_ni;
 
        /* for tdnr use */
        enum mcsc_output_index  tdnr_output;
index 6bd746a88c58962e6c09ea6bc3aecfacf2c8d2fa..f51f482c12aaf99063e41c5bf3c8180964e0a34f 100644 (file)
@@ -924,7 +924,7 @@ static int fimc_is_hw_mcsc_cfg_tdnr_tuning_param(struct fimc_is_hw_ip *hw_ip,
        noise_index = frame->noise_idx; /* get applying NI from frame */
 #endif
 
-       if (!start_flag && hw_mcsc->cur_noise_index == noise_index)
+       if (!start_flag && hw_mcsc->cur_ni == noise_index)
                goto exit;
 
        /* find ref NI arry index for re-configure NI depended settings */
@@ -988,7 +988,7 @@ config:
                tdnr_cfgs.spatial_dep_cfg, tdnr_cfgs.spatial_indep_cfg);
 
 exit:
-       hw_mcsc->cur_noise_index = noise_index;
+       hw_mcsc->cur_ni = noise_index;
 
        return ret;
 }
index fd24efa8717bcdd896ee864ee11b2ed23e885def..fe7ce9b70f042d510f3cbb6bec80fec8cff6f89b 100644 (file)
@@ -857,7 +857,7 @@ static int fimc_is_hw_mcsc_cfg_tdnr_tuning_param(struct fimc_is_hw_ip *hw_ip,
        noise_index = frame->noise_idx; /* get applying NI from frame */
 #endif
 
-       if (!start_flag && hw_mcsc->cur_noise_index == noise_index)
+       if (!start_flag && hw_mcsc->cur_ni == noise_index)
                goto exit;
 
        /* find ref NI arry index for re-configure NI depended settings */
@@ -921,7 +921,7 @@ config:
                tdnr_cfgs.spatial_dep_cfg, tdnr_cfgs.spatial_indep_cfg);
 
 exit:
-       hw_mcsc->cur_noise_index = noise_index;
+       hw_mcsc->cur_ni = noise_index;
 
        return ret;
 }