From: Dave Stevenson Date: Fri, 28 Oct 2022 16:08:53 +0000 (+0100) Subject: media: i2c: ov9282: Reduce vblank_min values based on testing X-Git-Tag: v6.2-rc1~125^2~228 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9fd61bb0e380cd31fdcd6c1af80adf91dcf0b231;p=tomoyo%2Ftomoyo-test1.git media: i2c: ov9282: Reduce vblank_min values based on testing The configured vblank_min setting of 151 (meaning VTS of 720 + 151 = 871) is far higher than the setting that works on the sensor, and there are no obvious restrictions stated in the datasheet. Reduce the vblank_min to allow for faster frame rates. Signed-off-by: Dave Stevenson Reviewed-by: Jacopo Mondi Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/ov9282.c b/drivers/media/i2c/ov9282.c index 7e0b12b89655..35bc2b0438bc 100644 --- a/drivers/media/i2c/ov9282.c +++ b/drivers/media/i2c/ov9282.c @@ -262,7 +262,7 @@ static const struct ov9282_mode supported_modes[] = { .height = 720, .hblank = 250, .vblank = 1022, - .vblank_min = 151, + .vblank_min = 41, .vblank_max = 51540, .link_freq_idx = 0, .reg_list = {