OSDN Git Service

IRDA-2056: Refine the test we use to decide to apply gyro calibration
authorPatrick Porlan <patrick.porlan@intel.com>
Wed, 15 Oct 2014 12:03:24 +0000 (14:03 +0200)
committerAdriana Reus <adriana.reus@intel.com>
Tue, 21 Oct 2014 13:27:04 +0000 (16:27 +0300)
commitdd4d8caef258e402e3dea20304f8b15135c2e6d9
tree87f61f80b5e20c78aa6613097d71b1013376ac06
parentdb7e7fbf95949cea64e6e0f755bafef4198d240d
IRDA-2056: Refine the test we use to decide to apply gyro calibration

The terse flag should only be used with drivers that a) don't
expose a recognizable motion trigger (we currently look for the
any-motion substring), b) are not for sensor types that Android
defines as continuous, and c) are nonetheless on-change. As of
today the only remaining example of this that I can think of
are the XPS 12 ISH drivers, so I prefer not to use this flag
to decide whether or not to apply calibration. Checking whether
we're using the initial or motion trigger seems better, if not
fully satisfactory.

Change-Id: I24c6632497f758e1301da7927ec94bf17f6fe84d
Signed-off-by: Patrick Porlan <patrick.porlan@intel.com>
transform.c