summaryrefslogtreecommitdiff
path: root/power/intel_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'power/intel_x86.c')
-rw-r--r--power/intel_x86.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/power/intel_x86.c b/power/intel_x86.c
index 8a841161e3..46cfb13df8 100644
--- a/power/intel_x86.c
+++ b/power/intel_x86.c
@@ -473,19 +473,10 @@ void common_intel_x86_handle_rsmrst(enum power_state state)
CPRINTS("Pass through GPIO_RSMRST_L_PGOOD: %d", rsmrst_in);
}
-#ifdef CONFIG_POWER_TRACK_HOST_SLEEP_STATE
-
-void __attribute__((weak))
-power_board_handle_host_sleep_event(enum host_sleep_event state)
-{
- /* Default weak implementation -- no action required. */
-}
+#if defined(CONFIG_POWER_TRACK_HOST_SLEEP_STATE) && defined(CONFIG_POWER_S0IX)
void power_chipset_handle_host_sleep_event(enum host_sleep_event state)
{
- power_board_handle_host_sleep_event(state);
-
-#ifdef CONFIG_POWER_S0IX
if (state == HOST_SLEEP_EVENT_S0IX_SUSPEND) {
/*
* Indicate to power state machine that a new host event for
@@ -508,7 +499,6 @@ void power_chipset_handle_host_sleep_event(enum host_sleep_event state)
} else if (state == HOST_SLEEP_EVENT_DEFAULT_RESET) {
power_signal_disable_interrupt(sleep_sig[SYS_SLEEP_S0IX]);
}
-#endif
}
#endif