mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-09 07:37:07 +08:00

These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.12.y With the following command: git format-patch -N v6.12.27..HEAD (HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e) Exceptions: - (def)configs patches - github workflows patches - applied & reverted patches - readme patches - wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
26 lines
853 B
Diff
26 lines
853 B
Diff
From 70c32664e555b0641cc187eebf0d738eb10a33a0 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
|
|
@@ -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
|
|
|