summaryrefslogtreecommitdiff
path: root/common/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/system.c')
-rw-r--r--common/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/system.c b/common/system.c
index 8e3f591db7..abf66315db 100644
--- a/common/system.c
+++ b/common/system.c
@@ -898,9 +898,9 @@ static int handle_pending_reboot(enum ec_reboot_cmd cmd)
return EC_ERROR_INVAL;
if (IS_ENABLED(CONFIG_POWER_BUTTON_INIT_IDLE)) {
- CPRINTS("Clearing AP_OFF");
+ CPRINTS("Clearing AP_IDLE");
chip_save_reset_flags(chip_read_reset_flags() &
- ~EC_RESET_FLAG_AP_OFF);
+ ~EC_RESET_FLAG_AP_IDLE);
}
/* Intentional fall-through */
case EC_REBOOT_HIBERNATE: