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

From: Jonathan Cameron

Date: Sat Aug 22 2026 - 20:42:39 EST


On Sat, 22 Aug 2026 18:25:57 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> On 8/21/26 9:05 AM, Gabriel Rondon wrote:
> > 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(-)
> >
>
> These check out. I also looked for alignment/DMA issues.
>
> Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx>
>

Applied to the testing branch of iio.git. I'll rebase that on
rc1 when that is available and then it will go out as togreg
for linux-next to pick up.

Nice little series.

Thanks,

Jonathan

>