summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/baytrail')
-rw-r--r--src/soc/intel/baytrail/elog.c2
-rw-r--r--src/soc/intel/baytrail/ramstage.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/baytrail/elog.c b/src/soc/intel/baytrail/elog.c
index b49c7c8318..f732fabc0f 100644
--- a/src/soc/intel/baytrail/elog.c
+++ b/src/soc/intel/baytrail/elog.c
@@ -77,7 +77,7 @@ void southcluster_log_state(void)
{
const struct chipset_power_state *ps;
- if (acpi_pm_state_for_elog(&ps) < 0)
+ if (acpi_fetch_pm_state(&ps, PS_CLAIMER_ELOG) < 0)
return;
log_power_and_resets(ps);
diff --git a/src/soc/intel/baytrail/ramstage.c b/src/soc/intel/baytrail/ramstage.c
index 42f371ce3d..26de1cbc20 100644
--- a/src/soc/intel/baytrail/ramstage.c
+++ b/src/soc/intel/baytrail/ramstage.c
@@ -147,7 +147,7 @@ static void acpi_save_wake_source(void *unused)
if (acpi_reset_gnvs_for_wake(&gnvs) < 0)
return;
- if (acpi_pm_state_for_wake(&ps) < 0)
+ if (acpi_fetch_pm_state(&ps, PS_CLAIMER_WAKE) < 0)
return;
pm_fill_gnvs(gnvs, ps);