diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2013-08-09 13:45:19 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-08-09 13:51:57 -0700 |
commit | e86ec89453b9cc4414bdfc0001ed22c213684d1f (patch) | |
tree | 54652790e2e884bce1da001a85e1e93a91992d9f | |
parent | 3e384c1a23471bd7d9c2eee680e0c138b56241cd (diff) | |
download | chrome-ec-e86ec89453b9cc4414bdfc0001ed22c213684d1f.tar.gz |
Fix documentation for lid change and power button hooks
They're now called from a deferred function call, which is done in the
hook task and not the chipset task.
No code changes.
BUG=none
BRANCH=none
TEST=compile code
Original-Change-Id: I115b6b254bd2b0ddd9688df603621e7ce0c12e1e
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/64258
Reviewed-by: Vic Yang <victoryang@chromium.org>
(cherry picked from commit 9078a1d9b2505fc14bfa863d8a4f4987dca88c31)
Change-Id: I3484034c255f1944d0999da2249e092edd339225
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/65363
-rw-r--r-- | include/hooks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hooks.h b/include/hooks.h index 1481a756a0..d00d0b649f 100644 --- a/include/hooks.h +++ b/include/hooks.h @@ -103,7 +103,7 @@ enum hook_type { * Lid opened or closed. Based on debounced lid state, not raw lid * GPIO input. * - * Hook routines are called from the chipset task. + * Hook routines are called from the TICK task. */ HOOK_LID_CHANGE, @@ -111,7 +111,7 @@ enum hook_type { * Power button pressed or released. Based on debounced power button * state, not raw GPIO input. * - * Hook routines are called from the chipset task. + * Hook routines are called from the TICK task. */ HOOK_POWER_BUTTON_CHANGE, |