bcm27xx: update 6.1 patches to latest version
[openwrt/staging/dangole.git] / target / linux / bcm27xx / patches-6.1 / 950-0795-driver-media-i2c-imx477-Re-enable-temperature-sensor.patch
1 From 713a7ef9d73fca0f7fed122cb854d930b7a6ba5a Mon Sep 17 00:00:00 2001
2 From: Naushir Patuck <naush@raspberrypi.com>
3 Date: Wed, 21 Jun 2023 08:45:02 +0100
4 Subject: [PATCH] driver: media: i2c: imx477: Re-enable temperature sensor
5
6 The temperature sensor enable register write got lost at some point.
7 Re-enable it.
8
9 Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
10 ---
11 drivers/media/i2c/imx477.c | 1 +
12 1 file changed, 1 insertion(+)
13
14 --- a/drivers/media/i2c/imx477.c
15 +++ b/drivers/media/i2c/imx477.c
16 @@ -167,6 +167,7 @@ struct imx477_mode {
17 static const struct imx477_reg mode_common_regs[] = {
18 {0x0136, 0x18},
19 {0x0137, 0x00},
20 + {0x0138, 0x01},
21 {0xe000, 0x00},
22 {0xe07a, 0x01},
23 {0x0808, 0x02},