summaryrefslogtreecommitdiff
path: root/src/soc/intel/icelake/pmutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/icelake/pmutil.c')
-rw-r--r--src/soc/intel/icelake/pmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/icelake/pmutil.c b/src/soc/intel/icelake/pmutil.c
index b7829b22b7..9297ffd0b8 100644
--- a/src/soc/intel/icelake/pmutil.c
+++ b/src/soc/intel/icelake/pmutil.c
@@ -184,7 +184,7 @@ int soc_get_rtc_failed(void)
{
const struct chipset_power_state *ps;
- if (acpi_pm_state_for_rtc(&ps) < 0)
+ if (acpi_fetch_pm_state(&ps, PS_CLAIMER_RTC) < 0)
return 1;
return check_rtc_failed(ps->gen_pmcon_b);