summaryrefslogtreecommitdiff
path: root/common/host_event_commands.c
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2022-01-28 10:01:57 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-03-29 18:04:50 +0000
commit00ed1b4cc993b61d7753b966bafbcafe5acf9e19 (patch)
tree275e8e50bd2f05da2be3cdf20a4b2c5059103047 /common/host_event_commands.c
parent62f95a1697bb6059737b53e392c803b519d0ca34 (diff)
downloadchrome-ec-00ed1b4cc993b61d7753b966bafbcafe5acf9e19.tar.gz
hooks: add HOOK_PRIO_POST_CHIPSET
Add the HOOK_PRIO_POST_CHIPSET alias for (HOOK_PRIO_INIT_CHARGE_CHIPSET+1). This more clearly identifies the intent of this priority level. BUG=none BRANCH=none TEST=compare_build.sh Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I2fee7c2c055d6b361871620aea74b92977dd31d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3553675 Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Diffstat (limited to 'common/host_event_commands.c')
-rw-r--r--common/host_event_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/host_event_commands.c b/common/host_event_commands.c
index 532cfe3be3..6fa1227272 100644
--- a/common/host_event_commands.c
+++ b/common/host_event_commands.c
@@ -837,5 +837,5 @@ static void restore_lazy_wm(void)
lazy_wm = *wm_state;
}
}
-DECLARE_HOOK(HOOK_INIT, restore_lazy_wm, HOOK_PRIO_INIT_CHIPSET + 1);
+DECLARE_HOOK(HOOK_INIT, restore_lazy_wm, HOOK_PRIO_POST_CHIPSET);
#endif