[PATCH 0/1] staging: media: ipu3: Fix AF x_start position when rightmost stripe is used

From: Kate Hsuan
Date: Wed Feb 23 2022 - 04:07:55 EST


The AF scene will be at an incorrect coordinate if the AF scene is set to
the right half part of the sensor.

After several attempts to set the AF scene to the right half part of
the sensor, the AF scene was staying at the rightmost edge of the sensor
for any x_start setting. So, if only the rightmost stripe is used, the
x_start should be adjusted based on the new basis of the coordinate which
is the down_scaled_stripes offset. Based on this, if the only rightmost
stripe is used, x_start should minus down_scaled_stripes offset to keep
the correctness of the AF coordinate.

Kate Hsuan (1):
staging: media: ipu3: Fix AF x_start position when rightmost stripe is
used

drivers/staging/media/ipu3/ipu3-css-params.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

--
2.35.1