iio: srf08: add triggered buffer support
authorAndreas Klinger <ak@it-klinger.de>
Wed, 16 Aug 2017 19:34:06 +0000 (21:34 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Aug 2017 07:00:17 +0000 (08:00 +0100)
commita83195937151036d9114154970f1cbf44114d43e
tree3a5ad9fcd88a5a3fae1dfa3bf3095a84b28cf121
parentc02b3a113d1b6d463e212711482bda280ecf34c1
iio: srf08: add triggered buffer support

Add support for triggered buffers.

Data format is quite simple:
  distance     16 Bit
  alignment    48 Bit
  timestamp    64 Bit

Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/srf08.c