summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ov2740.c
diff options
context:
space:
mode:
authorBingbu Cao <bingbu.cao@intel.com>2020-09-25 03:59:20 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-11-16 10:31:12 +0100
commit1d7b18a9ee5513fe45175ccb8a29ae08ad110fb2 (patch)
tree22260312e8fa4826d7b665f13cf64fd80baacd3f /drivers/media/i2c/ov2740.c
parentmedia: i2c: tvp5150: simplify getting state container (diff)
downloadlinux-1d7b18a9ee5513fe45175ccb8a29ae08ad110fb2.tar.xz
linux-1d7b18a9ee5513fe45175ccb8a29ae08ad110fb2.zip
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 <bingbu.cao@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/ov2740.c')
-rw-r--r--drivers/media/i2c/ov2740.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov2740.c b/drivers/media/i2c/ov2740.c
index 0d32b0c0ca11..64ecb6917dd3 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