diff options
| author | Dave Stevenson <dave.stevenson@raspberrypi.com> | 2024-12-09 14:55:45 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 09:57:53 +0100 |
| commit | c227d973812b69d24bb1375bad45eb7aa19daa32 (patch) | |
| tree | cb3ee41a05ffe25b52769a0235335caa08e430bc /drivers/memory | |
| parent | 98be204dc93c52216ee37f85f9af982bc144d632 (diff) | |
| download | linux-c227d973812b69d24bb1375bad45eb7aa19daa32.tar.gz linux-c227d973812b69d24bb1375bad45eb7aa19daa32.tar.bz2 linux-c227d973812b69d24bb1375bad45eb7aa19daa32.zip | |
media: i2c: ov9282: Correct the exposure offset
[ Upstream commit feaf4154d69657af2bf96e6e66cca794f88b1a61 ]
The datasheet lists that "Maximum exposure time is frame
length -25 row periods, where frame length is set by
registers {0x380E, 0x380F}".
However this driver had OV9282_EXPOSURE_OFFSET set to 12
which allowed that restriction to be violated, and would
result in very under-exposed images.
Correct the offset.
Fixes: 14ea315bbeb7 ("media: i2c: Add ov9282 camera sensor driver")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions
