Commit fb86cf8b authored by Hans de Goede's avatar Hans de Goede Committed by Mauro Carvalho Chehab

media: atomisp: Remove unused mipi_frame_size field from atomisp_[sub_]device

Both the atomisp_device and the atomisp_sub_device structs have
an unused mipi_frame_size field, remove the field from both.
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 6f48bc9e
...@@ -448,7 +448,6 @@ static void atomisp_dev_init_struct(struct atomisp_device *isp) ...@@ -448,7 +448,6 @@ static void atomisp_dev_init_struct(struct atomisp_device *isp)
unsigned int i; unsigned int i;
isp->isp_fatal_error = false; isp->isp_fatal_error = false;
isp->mipi_frame_size = 0;
for (i = 0; i < isp->input_cnt; i++) for (i = 0; i < isp->input_cnt; i++)
isp->inputs[i].asd = NULL; isp->inputs[i].asd = NULL;
...@@ -478,7 +477,6 @@ static void atomisp_subdev_init_struct(struct atomisp_sub_device *asd) ...@@ -478,7 +477,6 @@ static void atomisp_subdev_init_struct(struct atomisp_sub_device *asd)
/* Add for channel */ /* Add for channel */
asd->input_curr = 0; asd->input_curr = 0;
asd->mipi_frame_size = 0;
asd->copy_mode = false; asd->copy_mode = false;
asd->stream_prepared = false; asd->stream_prepared = false;
......
...@@ -211,7 +211,6 @@ struct atomisp_device { ...@@ -211,7 +211,6 @@ struct atomisp_device {
spinlock_t lock; /* Protects asd.streaming */ spinlock_t lock; /* Protects asd.streaming */
unsigned int mipi_frame_size;
const struct atomisp_dfs_config *dfs; const struct atomisp_dfs_config *dfs;
unsigned int hpll_freq; unsigned int hpll_freq;
unsigned int running_freq; unsigned int running_freq;
......
...@@ -304,8 +304,6 @@ struct atomisp_sub_device { ...@@ -304,8 +304,6 @@ struct atomisp_sub_device {
unsigned int latest_preview_exp_id; /* CSS ZSL/SDV raw buffer id */ unsigned int latest_preview_exp_id; /* CSS ZSL/SDV raw buffer id */
unsigned int mipi_frame_size;
bool copy_mode; /* CSI2+ use copy mode */ bool copy_mode; /* CSI2+ use copy mode */
int raw_buffer_bitmap[ATOMISP_MAX_EXP_ID / 32 + int raw_buffer_bitmap[ATOMISP_MAX_EXP_ID / 32 +
......
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