Skip to content

iio: gyro: convert to iio_push_to_buffers_with_ts()

Gabriel Rondon linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: gyro: adxrs290: use iio_push_to_buffers_with_ts()drivers/iio/gyro/adxrs290.c+2 -20 replies
2/3iio: gyro: bmg160: use iio_push_to_buffers_with_ts()drivers/iio/gyro/bmg160_core.c+2 -20 replies
3/3iio: gyro: itg3200: use iio_push_to_buffers_with_ts()drivers/iio/gyro/itg3200_buffer.c+2 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid Lechner
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts()

Convert the gyro drivers that still use the deprecated iio_push_to_buffers_with_timestamp() to iio_push_to_buffers_with_ts(), which takes and checks the destination buffer size.

Each pushes a struct with an aligned_s64 timestamp, so the change is passing sizeof() of that buffer at the push site. No functional change.

Gabriel Rondon (3):
iio: gyro: adxrs290: use iio_push_to_buffers_with_ts()
iio: gyro: bmg160: use iio_push_to_buffers_with_ts()
iio: gyro: itg3200: use iio_push_to_buffers_with_ts()

 drivers/iio/gyro/adxrs290.c       | 4 ++--
 drivers/iio/gyro/bmg160_core.c    | 4 ++--
 drivers/iio/gyro/itg3200_buffer.c | 3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
2.50.1 (Apple Git-155)