]> git.ipfire.org Git - thirdparty/openwrt.git/blob
f82c2434e30dab33cda15723a22d88dc50270159
[thirdparty/openwrt.git] /
1 From d2a776c4d38ccf0435083a90f51ed8886dd7aac9 Mon Sep 17 00:00:00 2001
2 From: David Plowman <david.plowman@raspberrypi.com>
3 Date: Tue, 25 Jan 2022 15:48:53 +0000
4 Subject: [PATCH] media: i2c: imx219: Correct the minimum vblanking value
5
6 The datasheet for this sensor documents the minimum vblanking as being
7 32 lines. It does fix some problems with occasional black lines at the
8 bottom of images (tested on Raspberry Pi).
9
10 Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
11 ---
12 drivers/media/i2c/imx219.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 --- a/drivers/media/i2c/imx219.c
16 +++ b/drivers/media/i2c/imx219.c
17 @@ -74,7 +74,7 @@
18 #define IMX219_REG_VTS CCI_REG16(0x0160)
19 #define IMX219_VTS_MAX 0xffff
20
21 -#define IMX219_VBLANK_MIN 4
22 +#define IMX219_VBLANK_MIN 32
23
24 /* HBLANK control - read only */
25 #define IMX219_PPL_DEFAULT 3448