mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
8299d1f057
Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted patches, wireless patches and defconfig patches. bcm2708: boot tested on RPi B+ v1.2 bcm2709: boot tested on RPi 4B v1.1 4G bcm2711: boot tested on RPi 4B v1.1 4G Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
27 lines
923 B
Diff
27 lines
923 B
Diff
From 6131e50bfae6adb5ee52ad0d08cf12bfcbf8c606 Mon Sep 17 00:00:00 2001
|
|
From: David Plowman <david.plowman@raspberrypi.com>
|
|
Date: Tue, 11 May 2021 12:57:22 +0100
|
|
Subject: [PATCH] media: i2c: ov5647: Correct minimum VBLANK value
|
|
|
|
Trial and error reveals that the minimum vblank value appears to be 24
|
|
(the OV5647 data sheet does not give any clues). This fixes streaming
|
|
lock-ups in full resolution mode.
|
|
|
|
Fixes: 9b5a5ebedc303 ("media: i2c: ov5647: Add support for V4L2_CID_VBLANK")
|
|
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
|
|
@@ -81,7 +81,7 @@
|
|
#define OV5647_PIXEL_ARRAY_WIDTH 2592U
|
|
#define OV5647_PIXEL_ARRAY_HEIGHT 1944U
|
|
|
|
-#define OV5647_VBLANK_MIN 4
|
|
+#define OV5647_VBLANK_MIN 24
|
|
#define OV5647_VTS_MAX 32767
|
|
|
|
#define OV5647_EXPOSURE_MIN 4
|