Skip to content

iio: accel: kionix-kx022a: unify staging buffer and convert to iio_push_to_buffers_with_ts()

Gabriel Rondon linux-iio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 10 repliesSuperseded

Changes in v3 from the cover letter

- get_axis(): use a local __le16 *buf and le16_to_cpup() (Andy)
- Add Suggested-by: Jonathan Cameron to patch 1
- Trim patch 2 changelog

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: accel: kionix-kx022a: use scan struct for one-shot and trigger readsdrivers/iio/accel/kionix-kx022a.c+7 -80 replies
2/2iio: accel: kionix-kx022a: use iio_push_to_buffers_with_ts()drivers/iio/accel/kionix-kx022a.c+4 -20 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMatti VaittinenAndy Shevchenko
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] iio: accel: kionix-kx022a: unify staging buffer and convert to iio_push_to_buffers_with_ts()

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.

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/[email protected]/

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(-)
Signature · 1 line
2.50.1 (Apple Git-155)