summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2019-06-17 15:11:02 +0800
committerCommit Bot <commit-bot@chromium.org>2019-06-18 05:55:48 +0000
commit60525b795ea38e8a17a35525ef02448d2d06a7db (patch)
treee2cb2d3a3d1331ce2807b72094a3c9e29065fabf /board
parent03d1278f03ccbaa8acd08934dcc1ecb48f34356f (diff)
downloadchrome-ec-60525b795ea38e8a17a35525ef02448d2d06a7db.tar.gz
kukui: sensor: fix incorrect active_mask
mag should be in s0/s3, other looks good. BUG=b:135234999 TEST=make BRANCH=none Change-Id: Id25f8ec5e3a6a530590025a9d337c59da9b92cfc Signed-off-by: Ting Shen <phoenixshen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1660521 Tested-by: Ting Shen <phoenixshen@chromium.org> Auto-Submit: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Yilun Lin <yllin@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/kukui/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/kukui/board.c b/board/kukui/board.c
index 6fb2ad4dc5..b6e5a04150 100644
--- a/board/kukui/board.c
+++ b/board/kukui/board.c
@@ -454,7 +454,7 @@ struct motion_sensor_t motion_sensors[] = {
#ifdef CONFIG_MAG_BMI160_BMM150
[LID_MAG] = {
.name = "Lid Mag",
- .active_mask = SENSOR_ACTIVE_S0,
+ .active_mask = SENSOR_ACTIVE_S0_S3,
.chip = MOTIONSENSE_CHIP_BMI160,
.type = MOTIONSENSE_TYPE_MAG,
.location = MOTIONSENSE_LOC_LID,