Skip to content

Commit a2ad1f4

Browse files
Waveshare_Teampopcornmix
authored andcommitted
drivers/regulator : Adjust power enable sequence
Avoid direct enabling of LCD power here. Certain screens require immediate initialization after power-on to prevent polarization. Signed-off-by: Waveshare_Team <[email protected]>
1 parent da07438 commit a2ad1f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/waveshare-panel-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ static int waveshare_panel_i2c_probe(struct i2c_client *i2c)
239239
data);
240240

241241
state->direction_state = 0;
242-
state->poweron_state = BIT(9) | BIT(8) | BIT(4) | BIT(0); // Enable VCC
242+
state->poweron_state = BIT(9) | BIT(8); // Enable VCC
243243
regmap_write(regmap, REG_TP, state->poweron_state >> 8);
244244
regmap_write(regmap, REG_LCD, state->poweron_state & 0xff);
245245
msleep(20);

0 commit comments

Comments
 (0)