mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
20ea6adbf1
Build system: x86_64 Build-tested: bcm2708, bcm2709, bcm2710, bcm2711 Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B Signed-off-by: Marty Jones <mj8263788@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
26 lines
853 B
Diff
26 lines
853 B
Diff
From 148a9f64b942cceb1ce155dfbc2fe893669de198 Mon Sep 17 00:00:00 2001
|
|
From: David Plowman <david.plowman@raspberrypi.com>
|
|
Date: Tue, 11 May 2021 12:52:26 +0100
|
|
Subject: [PATCH] media: i2c: ov5647: Correct pixel array offset
|
|
|
|
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 | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/media/i2c/ov5647.c
|
|
+++ b/drivers/media/i2c/ov5647.c
|
|
@@ -68,7 +68,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
|
|
|