summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru M Stan <amstan@chromium.org>2018-01-24 10:14:27 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2018-05-29 23:58:11 +0000
commitf3a3f172df8706893c72d7cc1645e49e6ab26863 (patch)
tree270bada26b7b75a67e5058526d383cea6f74b0fd
parent37168486d3f5543b5dd7a8e5d819c68c4c68c5b0 (diff)
downloadchrome-ec-f3a3f172df8706893c72d7cc1645e49e6ab26863.tar.gz
scarlet: gyro should be off by default
Things that need it will request it to turn on. The only reason accel is on by default is because we need to be able to poll it from time to time. TEST=Motion related things still work BUG=While looking at b/67743747 BRANCH=master Change-Id: I08ea487058fb93ce6ff5fcc9054243d83e189e21 Suggested-by: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Alexandru M Stan <amstan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/887947 Reviewed-by: Gwendal Grignou <gwendal@chromium.org> (cherry picked from commit 000f5301b8b9d7ef7e2398b5ee269f30ceb614d0) Reviewed-on: https://chromium-review.googlesource.com/1077550 Commit-Queue: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Philip Chen <philipchen@chromium.org>
-rw-r--r--board/scarlet/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/scarlet/board.c b/board/scarlet/board.c
index 45b4589671..e1ab6e8e1f 100644
--- a/board/scarlet/board.c
+++ b/board/scarlet/board.c
@@ -435,7 +435,7 @@ struct motion_sensor_t motion_sensors[] = {
},
/* Enable gyro in S0 */
[SENSOR_CONFIG_EC_S0] = {
- .odr = 10000 | ROUND_UP_FLAG,
+ .odr = 0,
.ec_rate = 100 * MSEC,
},
/* Sensor off in S3/S5 */