FAILED: patch "[PATCH] iio: accel: bma220_spi: set up buffer timestamps for non-zero" failed to apply to 4.7-stable tree
Subsystems (3)
[email protected]
maintainerThe patch below does not apply to the 4.7-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
Quoted 1 line
From
b234f683dde97aebb7009c6aecab651d32ad70b4Mon Sep 17 00:00:00 2001
From: Alison Schofield <[email protected]>
Date: Mon, 11 Jul 2016 08:25:07 -0700
Subject: [PATCH] iio: accel: bma220_spi: 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 <[email protected]>
Cc Daniel Baluta <[email protected]>
Reviewed-by Tiberiu Breana <[email protected]>
Cc <[email protected]>
Signed-off-by Jonathan Cameron <[email protected]>
drivers/iio/accel/bma220_spi.c +1 -1
@@ -253,7 +253,7 @@ static int bma220_probe(struct spi_device *spi)if (ret <0 )return ret; - ret =iio_triggered_buffer_setup (indio_dev,NULL , + ret =iio_triggered_buffer_setup (indio_dev, iio_pollfunc_store_time, bma220_trigger_handler,NULL );if (ret <0 ) {dev_err (&spi->dev,"iio triggered buffer setup failed\n" );