bcm27xx: add support for linux v5.15
[openwrt/staging/ldir.git] / target / linux / bcm27xx / patches-5.15 / 950-0367-Fixed-picture-line-bug-in-all-ov9281-modes.patch
1 From 3a2b3212618601346fbd042fa008a2200f09bda5 Mon Sep 17 00:00:00 2001
2 From: Mathias Anhalt <mathiasanhalt@web.de>
3 Date: Sun, 24 Jan 2021 15:15:01 +0100
4 Subject: [PATCH] Fixed picture line bug in all ov9281 modes
5
6 Signed-off-by: Mathias Anhalt <mathiasanhalt@web.de>
7 ---
8 drivers/media/i2c/ov9281.c | 5 +++--
9 1 file changed, 3 insertions(+), 2 deletions(-)
10
11 --- a/drivers/media/i2c/ov9281.c
12 +++ b/drivers/media/i2c/ov9281.c
13 @@ -205,7 +205,7 @@ static const struct regval ov9281_common
14 };
15
16 static const struct regval ov9281_1280x800_regs[] = {
17 - {0x3778, 0x10},
18 + {0x3778, 0x00},
19 {0x3800, 0x00},
20 {0x3801, 0x00},
21 {0x3802, 0x00},
22 @@ -241,7 +241,7 @@ static const struct regval ov9281_1280x8
23 };
24
25 static const struct regval ov9281_1280x720_regs[] = {
26 - {0x3778, 0x10},
27 + {0x3778, 0x00},
28 {0x3800, 0x00},
29 {0x3801, 0x00},
30 {0x3802, 0x00},
31 @@ -277,6 +277,7 @@ static const struct regval ov9281_1280x7
32 };
33
34 static const struct regval ov9281_640x400_regs[] = {
35 + {0x3778, 0x10},
36 {0x3800, 0x00},
37 {0x3801, 0x00},
38 {0x3802, 0x00},