mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
26 lines
872 B
Diff
26 lines
872 B
Diff
From 16d33aa52c6cac55a39989c095e4dc444967c6ed Mon Sep 17 00:00:00 2001
|
|
From: David Plowman <david.plowman@raspberrypi.com>
|
|
Date: Tue, 25 Jan 2022 15:48:53 +0000
|
|
Subject: [PATCH 316/697] media: i2c: imx219: Correct the minimum vblanking
|
|
value
|
|
|
|
The datasheet for this sensor documents the minimum vblanking as being
|
|
32 lines. It does fix some problems with occasional black lines at the
|
|
bottom of images (tested on Raspberry Pi).
|
|
|
|
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
|
|
---
|
|
drivers/media/i2c/imx219.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/media/i2c/imx219.c
|
|
+++ b/drivers/media/i2c/imx219.c
|
|
@@ -74,7 +74,7 @@
|
|
#define IMX219_REG_VTS CCI_REG16(0x0160)
|
|
#define IMX219_VTS_MAX 0xffff
|
|
|
|
-#define IMX219_VBLANK_MIN 4
|
|
+#define IMX219_VBLANK_MIN 32
|
|
|
|
/* HBLANK control - read only */
|
|
#define IMX219_PPL_DEFAULT 3448
|