diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-08-01 13:03:48 -0700 |
---|---|---|
committer | Dave Parker <dparker@chromium.org> | 2013-08-09 23:34:10 -0700 |
commit | 00c0bb72f4c76f7b8286e413a7b62d7f8fe7f26a (patch) | |
tree | f6731e943fc6324ec9558d3160e2da5be46354a3 | |
parent | 809ea885521618435183090dad2b43d9091c751b (diff) | |
download | chrome-ec-00c0bb72f4c76f7b8286e413a7b62d7f8fe7f26a.tar.gz |
CHERRY-PICK: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
Change-Id: I2aa2039a532bdd92b1807c2b1167700c78e88ecb
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>
Reviewed-on: https://gerrit.chromium.org/gerrit/65437
Commit-Queue: Dave Parker <dparker@chromium.org>
Reviewed-by: Dave Parker <dparker@chromium.org>
Tested-by: Dave Parker <dparker@chromium.org>
-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, |