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
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).
11 Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
13 drivers/media/i2c/imx219.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 --- a/drivers/media/i2c/imx219.c
17 +++ b/drivers/media/i2c/imx219.c
19 #define IMX219_VTS_30FPS_640x480 0x06e3
20 #define IMX219_VTS_MAX 0xffff
22 -#define IMX219_VBLANK_MIN 4
23 +#define IMX219_VBLANK_MIN 32
26 #define IMX219_FLL_MIN 0x08a6