Vincent Palatin f7022544bf motion: fix sensor interrupt interval computation
When a sensor has a null rate, do not reset the interrupt interval as we
need the minimum for all used sensors.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BRANCH=smaug
BUG=b:24678590
TEST=Rotate a Ryu at the Home Screen and see a proper auto-rotation.

Change-Id: Ia4cbb1e8bc425c076af245f45a72b1beb356f686
Reviewed-on: https://chromium-review.googlesource.com/304132
Trybot-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
(cherry picked from commit 1c73c7958e5db4024e05d5e691918238107654d3)
Reviewed-on: https://chromium-review.googlesource.com/304196
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
2015-10-06 17:15:32 -07:00
2015-10-06 01:41:08 -07:00
2015-05-07 00:00:47 +00:00
2015-08-15 01:32:39 +00:00
2015-09-29 19:38:21 -07:00
2012-05-11 09:11:52 -07:00
2014-04-02 19:58:53 +00:00
2014-05-15 05:20:14 +00:00

For an overview of the Embedded Controller firmware, refer to

http://www.chromium.org/chromium-os/2014-firmware-summit
Description
No description provided
Readme 1.4 GiB
Languages
C 64.7%
Lasso 20.7%
ASL 3.6%
JavaScript 3.2%
C# 2.9%
Other 4.6%