From: David Lechner <dlechner@baylibre.com>
To: Gabriel Rondon <grondon@gmail.com>, Jonathan Cameron <jic23@kernel.org>
Cc: "Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"Nishant Malpani" <nish.malpani25@gmail.com>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts()
Date: Sat, 22 Aug 2026 18:25:57 -0500 [thread overview]
Message-ID: <886f7b8a-ccd5-4a71-b5f0-3d3453dffefe@baylibre.com> (raw)
In-Reply-To: <20260821140553.80246-1-grondon@gmail.com>
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@baylibre.com>
next prev parent reply other threads:[~2026-08-22 23:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` David Lechner [this message]
2026-08-23 0:42 ` [PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts() Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=886f7b8a-ccd5-4a71-b5f0-3d3453dffefe@baylibre.com \
--to=dlechner@baylibre.com \
--cc=Michael.Hennerich@analog.com \
--cc=andy@kernel.org \
--cc=grondon@gmail.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nish.malpani25@gmail.com \
--cc=nuno.sa@analog.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox