kunimitsu: Gyro is not used for lid calculation

Fix a cut and paste error: Gyro should be disabled until the AP asks for
it. It is not used in lid angle calculation.

BUG=none
BRANCH=kunimitsu
TEST=compile

Change-Id: Id70058d76382434cb83b014b1c7439234167406c
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/312983
Reviewed-by: Alec Berg <alecaberg@chromium.org>
This commit is contained in:
Gwendal Grignou
2015-11-17 13:03:51 -08:00
committed by chrome-bot
parent cfae64d5de
commit 192d0b4da1

View File

@@ -314,10 +314,9 @@ struct motion_sensor_t motion_sensors[] = {
.odr = 0,
.ec_rate = 0,
},
/* EC use accel for angle detection */
[SENSOR_CONFIG_EC_S0] = {
.odr = 119000 | ROUND_UP_FLAG,
.ec_rate = 100,
.odr = 0
.ec_rate = 0,
},
/* unused */
[SENSOR_CONFIG_EC_S3] = {