Skip to content

Commit f7607f8

Browse files
committed
fw/kernel/util/standby: disable display
Disable display after clearing. This is really added because on Asterix, when PMIC is fully shutdown there seems to be a glitch that enables display again, so showing what the display has on its memory (a partial content, apparently erase does not fully wipe internal memory?). Asterix should probably pull the DISP line, or we should analyze what is the root cause of this problem. However, a display disable seems to prevent this to happen, and change is pretty harmless. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
1 parent 7ea3315 commit f7607f8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/fw/kernel/util/standby.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ NORETURN enter_standby(RebootReasonCode reason) {
9292

9393
// Wipe display
9494
display_clear();
95+
display_set_enabled(false);
9596

9697
/* skip BT teardown if BT isn't working */
9798
system_reset_prepare(reason == RebootReasonCode_DialogBootFault);

0 commit comments

Comments
 (0)