mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
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: I115b6b254bd2b0ddd9688df603621e7ce0c12e1e Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/64258 Reviewed-by: Vic Yang <victoryang@chromium.org>
This commit is contained in:
committed by
ChromeBot
parent
616f587c59
commit
9078a1d9b2
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user