diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2014-10-23 13:32:14 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-29 22:23:43 +0000 |
commit | f3b29e3fec5fcdb5449cee5c8b2068229fb0f3c0 (patch) | |
tree | 28bc774b007014e7de14ec13bb4cdf64f6bf29b3 /include/motion_sense.h | |
parent | ac375d000eba1e3b582018ebfcbf654af41bdcb9 (diff) | |
download | chrome-ec-f3b29e3fec5fcdb5449cee5c8b2068229fb0f3c0.tar.gz |
Samus: move gesture to common
Move gesture to common directory, 1st step to be reused by
other board.
Cleanup motion_sense shutdown path.
BUG=chrome-os-partner:33102
TEST=Double tap still works on Samus
BRANCH=ToT
Change-Id: I0a3b38c4a7dbe95c27dcdebff04c1176aaf932d1
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/225235
Reviewed-by: Sheng-liang Song <ssl@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include/motion_sense.h')
-rw-r--r-- | include/motion_sense.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/motion_sense.h b/include/motion_sense.h index 7fd0851a19..be764a8d00 100644 --- a/include/motion_sense.h +++ b/include/motion_sense.h @@ -131,4 +131,10 @@ struct motion_sensor_t { extern struct motion_sensor_t motion_sensors[]; extern const unsigned int motion_sensor_count; +/* + * Priority of the motion sense resume/suspend hooks, to be sure associated + * hooks are scheduled properly. + */ +#define MOTION_SENSE_HOOK_PRIO (HOOK_PRIO_DEFAULT) + #endif /* __CROS_EC_MOTION_SENSE_H */ |