diff options
Diffstat (limited to 'src/drivers/elog/elog.c')
-rw-r--r-- | src/drivers/elog/elog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c index de349281d6..5740076a34 100644 --- a/src/drivers/elog/elog.c +++ b/src/drivers/elog/elog.c @@ -607,7 +607,7 @@ int elog_init(void) #if !defined(__SMM__) /* Log boot count event except in S3 resume */ - if (CONFIG_ELOG_BOOT_COUNT && acpi_slp_type != 3) + if (CONFIG_ELOG_BOOT_COUNT && !acpi_is_wakeup_s3()) elog_add_event_dword(ELOG_TYPE_BOOT, boot_count_read()); /* Check and log POST codes from previous boot */ |