Re: [PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts()
David Lechner <dlechner-rdvid1DuHRBWk0Htik3J/[email protected]>
| Newsgroups | gmane.linux.kernel.iio,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
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-rdvid1DuHRBWk0Htik3J/[email protected]>