[COMMON] fimc-is2: Code cleanup - hw-mcscaler-v2 header file
authorSunmi Lee <carrotsm.lee@samsung.com>
Fri, 29 Jun 2018 05:44:48 +0000 (14:44 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:05:52 +0000 (17:05 +0900)
- Indents and spacing were adjusted
- Position of variable was moved

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

index 8e12017fb8029e3caf98595f377e2f9851d2bfeb..838b928640d93f45216a90f61d034367a204a04a 100644 (file)
@@ -93,9 +93,9 @@ struct hw_api_scaler_setfile {
         * 0 : SCALER_OUTPUT_YUV_RANGE_FULL
         * 1 : SCALER_OUTPUT_YUV_RANGE_NARROW
         */
-       struct scaler_setfile_contents contents[2];
+       struct scaler_setfile_contents  contents[2];
 #ifdef MCSC_DNR_USE_TUNING
-       struct tdnr_setfile_contents tdnr_contents;
+       struct tdnr_setfile_contents    tdnr_contents;
 #endif
 #ifdef MCSC_USE_DEJAG_TUNING_PARAM
        /* Setfile tuning parameters for DJAG (Lhotse)
@@ -151,6 +151,8 @@ struct fimc_is_hw_mcsc {
        u32     instance;
        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;
 
        /* for tdnr use */
        enum mcsc_output_index  tdnr_output;
@@ -159,7 +161,6 @@ struct fimc_is_hw_mcsc {
        dma_addr_t              dvaddr_tdnr[2];
        enum tdnr_mode          cur_tdnr_mode;
        enum yic_mode           yic_en;
-       u32                     cur_noise_index;
        struct tdnr_configs     tdnr_cfgs;
 
        /* for Djag */