Commit f8b39c65 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

media: staging: atomisp: There's no struct atomisp_dvs2_coefficients

It's called struct atomisp_dis_coefficients.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 4556cbcf
...@@ -509,7 +509,7 @@ struct atomisp_parameters { ...@@ -509,7 +509,7 @@ struct atomisp_parameters {
struct atomisp_shading_table *shading_table; struct atomisp_shading_table *shading_table;
struct atomisp_morph_table *morph_table; struct atomisp_morph_table *morph_table;
struct atomisp_dvs_coefficients *dvs_coefs; /* DVS 1.0 coefficients */ 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_capture_config *capture_config;
struct atomisp_anr_thres *anr_thres; struct atomisp_anr_thres *anr_thres;
......
...@@ -3806,7 +3806,7 @@ int atomisp_css_cp_dvs2_coefs(struct atomisp_sub_device *asd, ...@@ -3806,7 +3806,7 @@ int atomisp_css_cp_dvs2_coefs(struct atomisp_sub_device *asd,
} }
css_param->update_flag.dvs2_coefs = css_param->update_flag.dvs2_coefs =
(struct atomisp_dvs2_coefficients *)css_param->dvs2_coeff; (struct atomisp_dis_coefficients *)css_param->dvs2_coeff;
return 0; return 0;
} }
......
...@@ -3357,8 +3357,8 @@ int atomisp_css_set_dis_coefs(struct atomisp_sub_device *asd, ...@@ -3357,8 +3357,8 @@ int atomisp_css_set_dis_coefs(struct atomisp_sub_device *asd,
return -EFAULT; return -EFAULT;
asd->params.css_param.update_flag.dvs2_coefs = asd->params.css_param.update_flag.dvs2_coefs =
(struct atomisp_dvs2_coefficients *) (struct atomisp_dis_coefficients *)
asd->params.css_param.dvs2_coeff; asd->params.css_param.dvs2_coeff;
/* FIXME! */ /* FIXME! */
/* asd->params.dis_proj_data_valid = false; */ /* asd->params.dis_proj_data_valid = false; */
asd->params.css_update_params_needed = true; asd->params.css_update_params_needed = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment