From: Bingbu Cao Date: Fri, 25 Sep 2020 01:59:20 +0000 (+0200) Subject: media: ov2740: change the minimal exposure value to 4 X-Git-Tag: v5.11-rc1~203^2~344 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d7b18a9ee5513fe45175ccb8a29ae08ad110fb2;p=thirdparty%2Fkernel%2Flinux.git media: ov2740: change the minimal exposure value to 4 The minimal valid exposure value should be 4 lines instead of 8 for ov2740 mannual exposure control. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/ov2740.c b/drivers/media/i2c/ov2740.c index 0d32b0c0ca111..64ecb6917dd3b 100644 --- a/drivers/media/i2c/ov2740.c +++ b/drivers/media/i2c/ov2740.c @@ -37,7 +37,7 @@ /* Exposure controls from sensor */ #define OV2740_REG_EXPOSURE 0x3500 -#define OV2740_EXPOSURE_MIN 8 +#define OV2740_EXPOSURE_MIN 4 #define OV2740_EXPOSURE_MAX_MARGIN 8 #define OV2740_EXPOSURE_STEP 1