bcm27xx: add kernel 5.10 support
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.10 / 950-0707-media-i2c-imx477-Fix-framerates-for-1332x990-mode.patch
1 From 184e61559e917f70f5d10c96a43055c0891504b0 Mon Sep 17 00:00:00 2001
2 From: David Plowman <david.plowman@raspberrypi.com>
3 Date: Tue, 20 Jul 2021 15:10:03 +0100
4 Subject: [PATCH] media: i2c: imx477: Fix framerates for 1332x990 mode
5
6 The imx477 driver's line length for this mode had not been updated to
7 the value supplied to us by the sensor manufacturer. With this
8 correction the sensor delivers the framerates that are expected.
9
10 Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
11 ---
12 drivers/media/i2c/imx477.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 --- a/drivers/media/i2c/imx477.c
16 +++ b/drivers/media/i2c/imx477.c
17 @@ -982,7 +982,7 @@ static const struct imx477_mode supporte
18 /* 120fps. 2x2 binned and cropped */
19 .width = 1332,
20 .height = 990,
21 - .line_length_pix = 0x1460,
22 + .line_length_pix = 6664,
23 .crop = {
24 /*
25 * FIXME: the analog crop rectangle is actually