From 192d0b4da107aa65c3e340e883034811601cbe17 Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Tue, 17 Nov 2015 13:03:51 -0800 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/312983 Reviewed-by: Alec Berg --- board/kunimitsu/board.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/board/kunimitsu/board.c b/board/kunimitsu/board.c index 392d4513d4..07c561715e 100644 --- a/board/kunimitsu/board.c +++ b/board/kunimitsu/board.c @@ -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] = {