Re: [PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts()
Jonathan Cameron <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260823014232.5d7d88fb@jic23-huawei> |
On Sat, 22 Aug 2026 18:25:57 -0500 David Lechner <[email protected]> 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 <[email protected]> > 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 >