1 From 56a0f05720575f229fbbd996c0798aaf23464924 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Wed, 8 Sep 2021 15:41:18 +0100
4 Subject: [PATCH] regulator: rpi-panel: Ensure the backlight is off
7 The initial state of the Atmel is not defined, so ensure the
8 backlight PWM is set to 0 by default.
10 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
12 drivers/regulator/rpi-panel-attiny-regulator.c | 1 +
13 1 file changed, 1 insertion(+)
15 --- a/drivers/regulator/rpi-panel-attiny-regulator.c
16 +++ b/drivers/regulator/rpi-panel-attiny-regulator.c
17 @@ -250,6 +250,7 @@ static int attiny_i2c_probe(struct i2c_c
19 regmap_write(regmap, REG_POWERON, 0);
21 + regmap_write(regmap, REG_PWM, 0);
23 config.dev = &i2c->dev;
24 config.regmap = regmap;