media: i2c: ov5647: Correct pixel array offset
authorDavid Plowman <david.plowman@raspberrypi.com>
Tue, 11 May 2021 11:52:26 +0000 (12:52 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:10 +0000 (11:33 +0000)
The top offset in the pixel array is actually 6 (see page 3-1 of the
OV5647 data sheet).

Fixes: f2f7ad5ce5e52 ("media: i2c: ov5647: Selection compliance fixes")
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
drivers/media/i2c/ov5647.c

index 97fb3c0..a74835a 100644 (file)
@@ -69,7 +69,7 @@
 #define OV5647_NATIVE_HEIGHT           1956U
 
 #define OV5647_PIXEL_ARRAY_LEFT                16U
-#define OV5647_PIXEL_ARRAY_TOP         16U
+#define OV5647_PIXEL_ARRAY_TOP         6U
 #define OV5647_PIXEL_ARRAY_WIDTH       2592U
 #define OV5647_PIXEL_ARRAY_HEIGHT      1944U