media: i2c: imx464 fixes exposure error of short frame

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I73143f8dfb665d802c4d7ad911b6a1a50f4f612e
This commit is contained in:
Zefa Chen
2023-11-25 18:12:53 +08:00
committed by Tao Huang
parent d4dcc9b2c5
commit 28a0dfee1c

View File

@@ -1854,7 +1854,7 @@ static int IMX464_set_hdrae(struct IMX464 *IMX464,
__LINE__, rhs1, s_exp_time, rhs1_old,
(rhs1_old + 2 * BRL - fsc + 2));
rhs1 = (rhs1 >> 2) * 4 + 1;
rhs1 = ((rhs1 + 3) >> 2) * 4 + 1;
rhs1_old = rhs1;
if (rhs1 - s_exp_time <= SHR1_MIN) {