From d6fc44599ace6d92b41ab930b6a6b02ae00a4689 Mon Sep 17 00:00:00 2001 From: Jett Rink Date: Wed, 12 Sep 2018 15:33:52 -0600 Subject: octopus: correct base sensor lifetime All base sensor are off during S5 and turn on in S4. Update the active mask to reflect this which also ensure that the sensor is getting initialized at the correct time. BRANCH=none BUG=b:115278651 TEST=fleex base sensor now works. Change-Id: Id4b30fbab02dadf55ed0809fefef3938474fe818 Signed-off-by: Jett Rink Reviewed-on: https://chromium-review.googlesource.com/1222091 Commit-Ready: Matt Wang Tested-by: Matt Wang Reviewed-by: Justin TerAvest --- board/fleex/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/fleex') diff --git a/board/fleex/board.c b/board/fleex/board.c index d9227928b7..a6e430217c 100644 --- a/board/fleex/board.c +++ b/board/fleex/board.c @@ -164,7 +164,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, -- cgit v1.2.1