[PATCH v3 0/2] iio: accel: kionix-kx022a: unify staging buffer and convert to iio_push_to_buffers_with_ts()
Gabriel Rondon <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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(-) -- 2.50.1 (Apple Git-155)