diff options
author | Karthikeyan Ramasubramanian <kramasub@chromium.org> | 2019-02-11 13:55:45 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-12 18:22:12 -0800 |
commit | 7a4e638e358dcdf232e306e405cff51a6bb4f6ae (patch) | |
tree | fcb8d329907ef950571a98b1652679f5e3fe2e8d /board/meep | |
parent | 1f883987e9d71223058d7cb8771607977f3688d5 (diff) | |
download | chrome-ec-7a4e638e358dcdf232e306e405cff51a6bb4f6ae.tar.gz |
driver/lsm6dsm: Fix issue while setting Magnetometer ODR
While setting magnetometer ODR, accel ODR is restored through recursive
means. This causes the FIFO to be enabled as part of setting the accel
ODR while the magnetometer ODR is still to be configured. Fix the issue
by restoring the accel ODR in fifo_enable function instead of
recursively setting the accel ODR.
BUG=b:115587004
BRANCH=octopus
TEST=Boot to ChromeOS. Read the magnetometer samples using ectool.
Change-Id: I1c7b679b62c95277725c894242fa0e403d8cd37f
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1464380
Commit-Ready: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Tested-by: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@google.com>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'board/meep')
0 files changed, 0 insertions, 0 deletions