The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Gabriel Rondon <grondon@gmail.com>
Cc: "Matti Vaittinen" <mazziesaccount@gmail.com>,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andriy.shevchenko@intel.com>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/2] iio: accel: kionix-kx022a: unify staging buffer and convert to iio_push_to_buffers_with_ts()
Date: Sun, 23 Aug 2026 01:38:33 +0100	[thread overview]
Message-ID: <20260823013833.6dd77e26@jic23-huawei> (raw)
In-Reply-To: <20260819103747.31722-1-grondon@gmail.com>

On Wed, 19 Aug 2026 11:37:44 +0100
Gabriel Rondon <grondon@gmail.com> wrote:

> This is the kx022a staging-buffer unification plus the deprecated-API
> conversion. Patch 1 drops the redundant buffer and routes the one-shot
> read and the triggered handler through scan; patch 2 does the
> iio_push_to_buffers_with_ts() conversion.
> 
Ah. I didn't see you'd posted a new version with the changes requested
post my having picked this up (to fast as it turned out!)

If you are going to do this - which is fine - then reply to original
thread to call that out.  I think we ended up pretty much with the
same thing upstream though as I went ahead and tweaked it in my tree.
Mostly once a patch has been accepted, it's fixes on top.  Things are
a little more flexible when I haven't yet pushed it out as a non rebasing
(ish) branch like iio.git/togreg

Give me a shout if I messed anything up when tweaking it.

Jonathan

> Changes in v3:
> - get_axis(): use a local __le16 *buf and le16_to_cpup() (Andy)
> - Add Suggested-by: Jonathan Cameron to patch 1
> - Trim patch 2 changelog
> 
> v2: https://lore.kernel.org/linux-iio/20260818215122.52715-1-grondon@gmail.com/
> 
> Gabriel Rondon (2):
>   iio: accel: kionix-kx022a: use scan struct for one-shot and trigger
>     reads
>   iio: accel: kionix-kx022a: use iio_push_to_buffers_with_ts()
> 
>  drivers/iio/accel/kionix-kx022a.c | 19 ++++++++++---------
>  1 file changed, 10 insertions(+), 9 deletions(-)
> 


      parent reply	other threads:[~2026-08-23  0:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-19 10:37 [PATCH v3 0/2] iio: accel: kionix-kx022a: unify staging buffer and convert to iio_push_to_buffers_with_ts() Gabriel Rondon
2026-08-19 10:37 ` [PATCH v3 1/2] iio: accel: kionix-kx022a: use scan struct for one-shot and trigger reads Gabriel Rondon
2026-08-19 10:37 ` [PATCH v3 2/2] iio: accel: kionix-kx022a: use iio_push_to_buffers_with_ts() Gabriel Rondon
2026-08-23  0:38 ` Jonathan Cameron [this message]

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=20260823013833.6dd77e26@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=andriy.shevchenko@intel.com \
    --cc=dlechner@baylibre.com \
    --cc=grondon@gmail.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mazziesaccount@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