OSDN Git Service

Use the driver provided timestamp channel if possible
authorPatrick Porlan <patrick.porlan@intel.com>
Mon, 17 Nov 2014 16:43:53 +0000 (17:43 +0100)
committerAdriana Reus <adriana.reus@intel.com>
Fri, 21 Nov 2014 11:09:37 +0000 (13:09 +0200)
commitaa7404094904c874ec711bfcccfec6ec6cb4f903
tree94953eef4d25a14b6096e56c42d36f7895217d64
parent77dea6dee103965729a4265e45b1a800171fa121
Use the driver provided timestamp channel if possible

There are several conditions though:
- a suitable iio channel is detected
- it can be enabled
- the scan report are of the expected size
- timestamps aren't nil

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