From 5d672b91a7f0d83e278b6f48dbd29105aabfb897 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Wed, 30 Oct 2013 13:26:25 -0700 Subject: Clean up hook priorties on LM4 Fan no longer needs a special priority to wait for the host memmap to become available, since LPC inits earlier. I2C and PECI don't need explicit ordering on freq change. Thermal now uses the explicit prio for temp sensors done. Commented hook test. BUG=chromium:314768 BRANCH=none TEST=boot link; enable/disable PLL; verify fanset and temps commands work afterwards. Change-Id: I71766614dff2950dd307acd0635405e6b59e330a Signed-off-by: Randall Spangler Reviewed-on: https://chromium-review.googlesource.com/175601 Reviewed-by: Bill Richardson --- test/hooks.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/hooks.c b/test/hooks.c index e688e610c2..0e3c4f0e0e 100644 --- a/test/hooks.c +++ b/test/hooks.c @@ -40,6 +40,7 @@ static void tick2_hook(void) tick2_hook_count++; tick_count_seen_by_tick2 = tick_hook_count; } +/* tick2_hook() prio means it should be called after tick_hook() */ DECLARE_HOOK(HOOK_TICK, tick2_hook, HOOK_PRIO_DEFAULT+1); static void second_hook(void) -- cgit v1.2.1