Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts()
@ 2026-08-21 14:05 Gabriel Rondon
  2026-08-21 14:05 ` [PATCH 1/3] iio: gyro: adxrs290: use iio_push_to_buffers_with_ts() Gabriel Rondon
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Gabriel Rondon @ 2026-08-21 14:05 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: David Lechner, Nuno Sá, Andy Shevchenko, Michael Hennerich,
	Nishant Malpani, linux-iio, linux-kernel

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(-)

-- 
2.50.1 (Apple Git-155)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-08-23  0:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-21 14:05 [PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts() Gabriel Rondon
2026-08-21 14:05 ` [PATCH 1/3] iio: gyro: adxrs290: use iio_push_to_buffers_with_ts() Gabriel Rondon
2026-08-21 14:05 ` [PATCH 2/3] iio: gyro: bmg160: " Gabriel Rondon
2026-08-21 14:05 ` [PATCH 3/3] iio: gyro: itg3200: " Gabriel Rondon
2026-08-22 23:25 ` [PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts() David Lechner
2026-08-23  0:42   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox