diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2020-06-04 19:16:18 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-11 19:45:02 +0300 |
commit | f8b39c658a524485d646d5fdfe2b987e80ba172f (patch) | |
tree | ed6ba7f43f71db0a8007689e8fed5283bb619b08 /drivers/staging | |
parent | 4556cbcf80c9b40130b69968155c49ecefcebbc0 (diff) | |
download | linux-f8b39c658a524485d646d5fdfe2b987e80ba172f.tar.xz |
media: staging: atomisp: There's no struct atomisp_dvs2_coefficients
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/media/atomisp/include/linux/atomisp.h | 2 | ||||
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp_cmd.c | 2 | ||||
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp_compat_css20.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/media/atomisp/include/linux/atomisp.h b/drivers/staging/media/atomisp/include/linux/atomisp.h index 1acfb53eb171..758b971f9d61 100644 --- a/drivers/staging/media/atomisp/include/linux/atomisp.h +++ b/drivers/staging/media/atomisp/include/linux/atomisp.h @@ -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; diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp_cmd.c index f3548e741cc5..b003dc93bd34 100644 --- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c +++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c @@ -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; } diff --git a/drivers/staging/media/atomisp/pci/atomisp_compat_css20.c b/drivers/staging/media/atomisp/pci/atomisp_compat_css20.c index d7cecc45224f..6d4d07ef0ad9 100644 --- a/drivers/staging/media/atomisp/pci/atomisp_compat_css20.c +++ b/drivers/staging/media/atomisp/pci/atomisp_compat_css20.c @@ -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; |