projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c68858
)
iio: proximity: as3935: set up buffer timestamps for non-zero values
author
Alison Schofield
<amsfield22@gmail.com>
Mon, 11 Jul 2016 15:26:56 +0000
(08:26 -0700)
committer
Jonathan Cameron
<jic23@kernel.org>
Mon, 15 Aug 2016 14:39:27 +0000
(15:39 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/proximity/as3935.c
b/drivers/iio/proximity/as3935.c
index 2e3a70e1b24541677d80661d9dedb7742d1f3341..5656deb17261c63963bffddecaf8c48a98cd16e5 100644
(file)
--- a/
drivers/iio/proximity/as3935.c
+++ b/
drivers/iio/proximity/as3935.c
@@
-397,7
+397,7
@@
static int as3935_probe(struct spi_device *spi)
return ret;
}
- ret = iio_triggered_buffer_setup(indio_dev,
NULL
,
+ ret = iio_triggered_buffer_setup(indio_dev,
iio_pollfunc_store_time
,
&as3935_trigger_handler, NULL);
if (ret) {