iio: proximity: as3935: set up buffer timestamps for non-zero values
authorAlison Schofield <amsfield22@gmail.com>
Mon, 11 Jul 2016 15:26:56 +0000 (08:26 -0700)
committerJonathan Cameron <jic23@kernel.org>
Mon, 15 Aug 2016 14:39:27 +0000 (15:39 +0100)
commitf8adf645db03345af2d9a8b6095b02327ea50885
tree489cf5a40295330a12286b17f8298bd45e0fb4c7
parent3c68858df7c2f0c4c343bb4702733fe827491f9e
iio: proximity: as3935: set up buffer timestamps for non-zero values

Use the iio_pollfunc_store_time parameter during triggered buffer
set-up to get valid timestamps.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/proximity/as3935.c