summaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell/elog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/braswell/elog.c')
-rw-r--r--src/soc/intel/braswell/elog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/braswell/elog.c b/src/soc/intel/braswell/elog.c
index 755a601bda..08994b43de 100644
--- a/src/soc/intel/braswell/elog.c
+++ b/src/soc/intel/braswell/elog.c
@@ -67,7 +67,7 @@ static void log_wake_events(const struct chipset_power_state *ps)
if (ps->pm1_sts & WAK_STS)
elog_add_event_byte(ELOG_TYPE_ACPI_WAKE,
- acpi_slp_type == 3 ? 3 : 5);
+ acpi_is_wakeup_s3() ? ACPI_S3 : ACPI_S5);
if (ps->pm1_sts & PWRBTN_STS)
elog_add_event_wake(ELOG_WAKE_SOURCE_PWRBTN, 0);