OSDN Git Service

GMIN-2525: Ensure that we select a motion trigger if available
authorPatrick Porlan <patrick.porlan@intel.com>
Thu, 7 Aug 2014 09:06:41 +0000 (11:06 +0200)
committerAdriana Reus <adriana.reus@intel.com>
Wed, 13 Aug 2014 15:23:54 +0000 (18:23 +0300)
commit06f5f6a39dde039c410edc1f441c73b5706423ed
tree79033e1f35572e4504ac0538cbc0d0605e12b9d4
parente135a700640ce4a645eae383f10c76eaf2477a58
GMIN-2525: Ensure that we select a motion trigger if available

Srinivas is adding alternate "any-motion" triggers to a variety
of iio drivers. Let's use these in priority, and engage the HAL
level event repetition machinery if we select such a trigger.

This is dependent on the trigger name being advertised through
/sys/bus/iio/devices/triggerX.

Issue: GMIN-2525

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