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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/power/intel_x86.c b/power/intel_x86.c
index 9f26943dae..25778b3f78 100644
--- a/power/intel_x86.c
+++ b/power/intel_x86.c
@@ -179,7 +179,8 @@ static void lpc_s0ix_resume_restore_masks(void)
backup_sci_mask = backup_smi_mask = 0;
}
-static void lpc_s0ix_hang_detected(void)
+__override void power_chipset_handle_sleep_hang(
+ enum sleep_hang_type hang_type)
{
/*
* Wake up the AP so they don't just chill in a non-suspended state and
@@ -613,7 +614,7 @@ __override void power_chipset_handle_host_sleep_event(
*/
sleep_set_notify(SLEEP_NOTIFY_SUSPEND);
- sleep_start_suspend(ctx, lpc_s0ix_hang_detected);
+ sleep_start_suspend(ctx);
power_signal_enable_interrupt(sleep_sig[SYS_SLEEP_S0IX]);
} else if (state == HOST_SLEEP_EVENT_S0IX_RESUME) {
/*