media: i2c: cap exposure at height + vblank in ov8865
authorDaniel Scally <djrscally@gmail.com>
Tue, 23 Nov 2021 00:00:12 +0000 (01:00 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 30 Nov 2021 09:57:26 +0000 (10:57 +0100)
commitca28690ebe19f55fedb8ecb374f10a0d88a7366c
treeed3bfa266d02f09a6502697258e8a5e1612a0841
parent295786e53516ba1792b5ff1deb9dfffff4040255
media: i2c: cap exposure at height + vblank in ov8865

Exposure limits depend on the total height; when vblank is altered (and
thus the total height is altered), change the exposure limits to reflect
the new cap.

Signed-off-by: Daniel Scally <djrscally@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov8865.c