media: staging: atomisp: There's no struct atomisp_dvs2_coefficients
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 4 Jun 2020 16:16:18 +0000 (18:16 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 16:45:02 +0000 (18:45 +0200)
It's called struct atomisp_dis_coefficients.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/include/linux/atomisp.h
drivers/staging/media/atomisp/pci/atomisp_cmd.c
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c

index 1acfb53eb1710bf9f1515546382635137c48fb90..758b971f9d617962b459a867cb7f30d640f2288a 100644 (file)
@@ -509,7 +509,7 @@ struct atomisp_parameters {
        struct atomisp_shading_table *shading_table;
        struct atomisp_morph_table   *morph_table;
        struct atomisp_dvs_coefficients *dvs_coefs; /* DVS 1.0 coefficients */
-       struct atomisp_dvs2_coefficients *dvs2_coefs; /* DVS 2.0 coefficients */
+       struct atomisp_dis_coefficients *dvs2_coefs; /* DVS 2.0 coefficients */
        struct atomisp_capture_config   *capture_config;
        struct atomisp_anr_thres   *anr_thres;
 
index f3548e741cc5f8e6fdff5173e861f3fb82194ef4..b003dc93bd3438a79988970f4e3410b729bccbdf 100644 (file)
@@ -3806,7 +3806,7 @@ int atomisp_css_cp_dvs2_coefs(struct atomisp_sub_device *asd,
        }
 
        css_param->update_flag.dvs2_coefs =
-           (struct atomisp_dvs2_coefficients *)css_param->dvs2_coeff;
+           (struct atomisp_dis_coefficients *)css_param->dvs2_coeff;
        return 0;
 }
 
index d7cecc45224ff32597211deb220ec029295a8e3c..6d4d07ef0ad9eb3474918640ee7de7be856420ae 100644 (file)
@@ -3357,8 +3357,8 @@ int atomisp_css_set_dis_coefs(struct atomisp_sub_device *asd,
                return -EFAULT;
 
        asd->params.css_param.update_flag.dvs2_coefs =
-           (struct atomisp_dvs2_coefficients *)
-           asd->params.css_param.dvs2_coeff;
+               (struct atomisp_dis_coefficients *)
+               asd->params.css_param.dvs2_coeff;
        /* FIXME! */
        /*      asd->params.dis_proj_data_valid = false; */
        asd->params.css_update_params_needed = true;