summaryrefslogtreecommitdiff
path: root/board/samus
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2015-09-12 00:26:10 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-09-14 18:53:38 -0700
commit0e4640cc670d38fea8761c4809e4d31107d2c1c0 (patch)
treefe509554eb0d046d2ee0a13de41011bd83040cc1 /board/samus
parent42288543f93d6445ab8567138cbd3c01f622ed22 (diff)
downloadchrome-ec-0e4640cc670d38fea8761c4809e4d31107d2c1c0.tar.gz
samus: gyro is on all the time.
Given it is in the chip as the accelerometer, it is on all the time. Put it in suspend by setting its ODR to 0 is S3 and S5. BRANCH=smaug BUG=none TEST=gyro still works in S0 and after S3/S5 transitions. Change-Id: Ibbf51eb555e2c513a6561a1d22e231796b3da4b4 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/299542 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board/samus')
-rw-r--r--board/samus/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samus/board.c b/board/samus/board.c
index e9d71de370..5e53a7ba05 100644
--- a/board/samus/board.c
+++ b/board/samus/board.c
@@ -367,7 +367,7 @@ struct motion_sensor_t motion_sensors[] = {
},
{.name = "Base Gyro",
- .active_mask = SENSOR_ACTIVE_S0,
+ .active_mask = SENSOR_ACTIVE_S0_S3_S5,
.chip = MOTIONSENSE_CHIP_LSM6DS0,
.type = MOTIONSENSE_TYPE_GYRO,
.location = MOTIONSENSE_LOC_BASE,