dd4bc6b6e6c6a46a79414b798622e76bc63d7fa0
[openwrt/staging/linusw.git] /
1 From d78bdb0309f5ad3771dda28e0cc959bc929f4590 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