Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1440708 > unrolled thread
| Started by | Alison Schofield <amsfield22@gmail.com> |
|---|---|
| First post | 2016-07-11 17:30 +0200 |
| Last post | 2016-07-24 14:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 3/3] iio: proximity: as3935: set up buffer timestamps for non-zero values Alison Schofield <amsfield22@gmail.com> - 2016-07-11 17:30 +0200
Re: [PATCH 3/3] iio: proximity: as3935: set up buffer timestamps for non-zero values Jonathan Cameron <jic23@kernel.org> - 2016-07-24 14:10 +0200
| From | Alison Schofield <amsfield22@gmail.com> |
|---|---|
| Date | 2016-07-11 17:30 +0200 |
| Subject | [PATCH 3/3] iio: proximity: as3935: set up buffer timestamps for non-zero values |
| Message-ID | <rTLjH-lg-9@gated-at.bofh.it> |
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>
---
drivers/iio/proximity/as3935.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/proximity/as3935.c b/drivers/iio/proximity/as3935.c
index 2e3a70e..5656deb 100644
--- 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) {
--
2.1.4
[toc] | [next] | [standalone]
| From | Jonathan Cameron <jic23@kernel.org> |
|---|---|
| Date | 2016-07-24 14:10 +0200 |
| Message-ID | <rYqoh-7Jw-3@gated-at.bofh.it> |
| In reply to | #1440708 |
On 11/07/16 16:26, Alison Schofield wrote:
> 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>
Applied to the fixes-togreg-post-rc1 branch of iio.git and
marked for stable.
Oops to all of these ;)
Jonathan
> ---
> drivers/iio/proximity/as3935.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/proximity/as3935.c b/drivers/iio/proximity/as3935.c
> index 2e3a70e..5656deb 100644
> --- 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) {
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web