diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2017-01-03 14:33:04 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-01-05 13:43:39 -0800 |
commit | 0c7b7f222c59726edca80b1a01f8f217cc5cfcf7 (patch) | |
tree | dbb85d2e40d7d9404d56a830f04245ebce046bff /include/common.h | |
parent | 266b36d54b00de514030b76364cf94977bf02cd0 (diff) | |
download | chrome-ec-0c7b7f222c59726edca80b1a01f8f217cc5cfcf7.tar.gz |
driver: als: Add error code UNCHANGED
This error code is used to indicates the data has not changed.
Motion sense task will therefore not add any entry in the sensor FIFO.
BUG=chrome-os-partner:59423
TEST=make -j buildall
BRANCH=reef
Change-Id: I58b9be5675d8949bd682d8c89dadea1dfff9bf2e
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/424856
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/common.h b/include/common.h index 84b9366064..0bdea8965d 100644 --- a/include/common.h +++ b/include/common.h @@ -124,9 +124,12 @@ enum ec_error_list { EC_ERROR_PARAM7 = 17, EC_ERROR_PARAM8 = 18, EC_ERROR_PARAM9 = 19, - EC_ERROR_PARAM_COUNT = 20, /* Wrong number of params */ - - EC_ERROR_NOT_HANDLED = 21, /* Interrupt event not handled */ + /* Wrong number of params */ + EC_ERROR_PARAM_COUNT = 20, + /* Interrupt event not handled */ + EC_ERROR_NOT_HANDLED = 21, + /* Data has not changed */ + EC_ERROR_UNCHANGED = 22, /* Module-internal error codes may use this range. */ EC_ERROR_INTERNAL_FIRST = 0x10000, |