summaryrefslogtreecommitdiff
path: root/board/yorp
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-07-25 09:13:19 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-08-09 22:04:34 -0700
commitaba9f5e09f7fb1f18a297fb5552404706a642351 (patch)
tree19bfb80de7a38398f24a07c25198d6622b4ec7e2 /board/yorp
parent121404c0bbe126e6652dc71caf0e7476a13f5f58 (diff)
downloadchrome-ec-aba9f5e09f7fb1f18a297fb5552404706a642351.tar.gz
yorp: update sensor rail lifetime
The Base sensor power is off in S5. Update the mask so we re-initialize the sensor upon S3 entry. BRANCH=none BUG=b:111727977 TEST=verified on phaser via CL:1148179, which has same power topology Change-Id: I67e37a92df876657c6ce7044a19070116da41129 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1150206 Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'board/yorp')
-rw-r--r--board/yorp/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/yorp/board.c b/board/yorp/board.c
index d3cf15cd55..5c8acd692d 100644
--- a/board/yorp/board.c
+++ b/board/yorp/board.c
@@ -150,7 +150,7 @@ struct motion_sensor_t motion_sensors[] = {
[BASE_ACCEL] = {
.name = "Base Accel",
- .active_mask = SENSOR_ACTIVE_S0_S3_S5,
+ .active_mask = SENSOR_ACTIVE_S0_S3,
.chip = MOTIONSENSE_CHIP_LSM6DSM,
.type = MOTIONSENSE_TYPE_ACCEL,
.location = MOTIONSENSE_LOC_BASE,