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

media: atomisp: Remove atomisp_css_enable_raw_binning()

Remove the now unused atomisp_css_enable_raw_binning() function.

Link: https://lore.kernel.org/r/20230221145906.8113-6-hdegoede@redhat.comReviewed-by: default avatarAndy Shevchenko <andy@kernel.org>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 7821a603
...@@ -196,9 +196,6 @@ void atomisp_css_input_set_two_pixels_per_clock( ...@@ -196,9 +196,6 @@ void atomisp_css_input_set_two_pixels_per_clock(
struct atomisp_sub_device *asd, struct atomisp_sub_device *asd,
bool two_ppc); bool two_ppc);
void atomisp_css_enable_raw_binning(struct atomisp_sub_device *asd,
bool enable);
void atomisp_css_enable_dz(struct atomisp_sub_device *asd, bool enable); void atomisp_css_enable_dz(struct atomisp_sub_device *asd, bool enable);
void atomisp_css_capture_set_mode(struct atomisp_sub_device *asd, void atomisp_css_capture_set_mode(struct atomisp_sub_device *asd,
......
...@@ -1738,25 +1738,6 @@ void atomisp_css_input_set_two_pixels_per_clock( ...@@ -1738,25 +1738,6 @@ void atomisp_css_input_set_two_pixels_per_clock(
.update_pipe[i] = true; .update_pipe[i] = true;
} }
void atomisp_css_enable_raw_binning(struct atomisp_sub_device *asd,
bool enable)
{
struct atomisp_stream_env *stream_env =
&asd->stream_env[ATOMISP_INPUT_STREAM_GENERAL];
unsigned int pipe;
if (asd->run_mode->val == ATOMISP_RUN_MODE_VIDEO)
pipe = IA_CSS_PIPE_ID_VIDEO;
else
pipe = IA_CSS_PIPE_ID_PREVIEW;
stream_env->pipe_extra_configs[pipe].enable_raw_binning = enable;
stream_env->update_pipe[pipe] = true;
if (enable)
stream_env->pipe_configs[pipe].output_info[0].padded_width =
stream_env->stream_config.input_config.effective_res.width;
}
void atomisp_css_enable_dz(struct atomisp_sub_device *asd, bool enable) void atomisp_css_enable_dz(struct atomisp_sub_device *asd, bool enable)
{ {
int i; int i;
......
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