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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/power/intel_x86.c b/power/intel_x86.c
index c1f49353fd..3da8c9eba7 100644
--- a/power/intel_x86.c
+++ b/power/intel_x86.c
@@ -142,7 +142,7 @@ static void s0ix_lpc_disable_wake_mask(void)
lpc_set_host_event_mask(LPC_HOST_EVENT_WAKE, mask);
/* clear host events */
- while (lpc_query_host_event_state() != 0)
+ while (lpc_get_next_host_event() != 0)
;
}
}