summaryrefslogtreecommitdiff
path: root/COMMIT-QUEUE.ini
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2019-04-25 16:59:28 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-04-27 04:13:03 -0700
commit2cc3e7ce65016520162198c0cafa30ef54271c21 (patch)
treead6bb23b8fced45921c950fa15c832385088e937 /COMMIT-QUEUE.ini
parent7a87d4b5c984cc24937944b4cbcd8cd7f3b4fd0b (diff)
downloadchrome-ec-2cc3e7ce65016520162198c0cafa30ef54271c21.tar.gz
driver: bmi160: Check enable_fifo flags before processing FIFO
If there is an interrupt pending after we suspend the BMI160, we will try to collect length from the FIFO, but the FIFO is suspended. Bring back enable_fifo flags check before processing the FIFO. It has been move after gathering the length in CL:1128555 BUG=b:127321764,b:131272795 BRANCH=master TEST=Using flip_flop.sh script at b/131272795#comment2 Check the messages "unexpected empty FIFO" disappear. Change-Id: Iaab1a7f3607b902acd92b75c926365d7eb09fd5e Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1585420 Reviewed-by: Enrico Granata <egranata@chromium.org> (cherry picked from commit d17cd2add14f1f1e32bd58d51d60a2c93f17f055) Reviewed-on: https://chromium-review.googlesource.com/1585471
Diffstat (limited to 'COMMIT-QUEUE.ini')
0 files changed, 0 insertions, 0 deletions