8383a967e2cb299a84cc75a397a0ce56ce8852b1
[openwrt/staging/blocktrron.git] /
1 From dc65a6b457153e907fe66e49364a21f3c5248add 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
5 value
6
7 The datasheet for this sensor documents the minimum vblanking as being
8 32 lines. It does fix some problems with occasional black lines at the
9 bottom of images (tested on Raspberry Pi).
10
11 Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
12 ---
13 drivers/media/i2c/imx219.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/drivers/media/i2c/imx219.c
17 +++ b/drivers/media/i2c/imx219.c
18 @@ -55,7 +55,7 @@
19 #define IMX219_VTS_30FPS_640x480 0x06e3
20 #define IMX219_VTS_MAX 0xffff
21
22 -#define IMX219_VBLANK_MIN 4
23 +#define IMX219_VBLANK_MIN 32
24
25 /*Frame Length Line*/
26 #define IMX219_FLL_MIN 0x08a6