diff options
author | Wai-Hong Tam <waihong@google.com> | 2020-10-22 10:36:53 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-23 21:33:53 +0000 |
commit | e13ae71531154667cb714d691a5129a8b7932ec3 (patch) | |
tree | 91a606fa663da6ee72e667134d4ba61ecfdcbdd2 /board/pompom | |
parent | c0011fb7c05c528b627c2f95125f48a95a85a9d4 (diff) | |
download | chrome-ec-e13ae71531154667cb714d691a5129a8b7932ec3.tar.gz |
Trogdor: Do not activate g-sensors in S5
The g-sensors are not necessary to be active in S5; no gesture
recognition in Trogdor designs. Do not activate it in S5.
Though without this change, EC doesn't read the g-sensors as
there is no config (zero odr) for S5.
BRANCH=None
BUG=b:170288119
TEST=Still read the g-sensors on S0 and S3.
Change-Id: I54e8012e2674e13273e5fe9b96e9e9e6086e6490
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2492529
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Diffstat (limited to 'board/pompom')
-rw-r--r-- | board/pompom/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/pompom/board.c b/board/pompom/board.c index 11832231d0..eb90084e19 100644 --- a/board/pompom/board.c +++ b/board/pompom/board.c @@ -509,7 +509,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_BMI160, .type = MOTIONSENSE_TYPE_ACCEL, .location = MOTIONSENSE_LOC_BASE, @@ -534,7 +534,7 @@ struct motion_sensor_t motion_sensors[] = { }, [BASE_GYRO] = { .name = "Gyro", - .active_mask = SENSOR_ACTIVE_S0_S3_S5, + .active_mask = SENSOR_ACTIVE_S0_S3, .chip = MOTIONSENSE_CHIP_BMI160, .type = MOTIONSENSE_TYPE_GYRO, .location = MOTIONSENSE_LOC_BASE, |