summaryrefslogtreecommitdiff
path: root/chip/lm4/system.c
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2017-04-06 17:43:16 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-04-14 13:49:31 -0700
commit20c439be209a9cc0bb949ad21f289c453126395f (patch)
treeb7e5d1a9cab98819b78b952edea09b678f598bd2 /chip/lm4/system.c
parentc487e18a3f203dc8793e884730eb66b2706deb26 (diff)
downloadchrome-ec-20c439be209a9cc0bb949ad21f289c453126395f.tar.gz
system: Shutdown AP before entering hibernate mode
BUG=chromium:702451 BRANCH=none TEST=manually test on gru: confirm 'Alt+VolUp+h' puts gru in hibernate mode and AC plug-in wakes it up. Change-Id: I3e1134b866dea5d3cc61f9b3dad31c3ff0bd9096 Reviewed-on: https://chromium-review.googlesource.com/470787 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'chip/lm4/system.c')
-rw-r--r--chip/lm4/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/lm4/system.c b/chip/lm4/system.c
index 684b520dae..4ddfef4e35 100644
--- a/chip/lm4/system.c
+++ b/chip/lm4/system.c
@@ -381,7 +381,7 @@ static void hibernate(uint32_t seconds, uint32_t microseconds, uint32_t flags)
__enter_hibernate(hibctl | LM4_HIBCTL_HIBREQ);
}
-void system_hibernate(uint32_t seconds, uint32_t microseconds)
+void chip_hibernate(uint32_t seconds, uint32_t microseconds)
{
/* Flush console before hibernating */
cflush();