IIO: Accelerometers: Sparse friendly claim of direct mode
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 14 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | David Lechner | Matti Vaittinen |
|---|---|---|
| Series | R-b | |
| 1/8 | ||
| 2/8 | ||
| 3/8 | ||
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | ||
| 7/8 | ||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] IIO: Accelerometers: Sparse friendly claim of direct mode
From: Jonathan Cameron <[email protected]>
Note that a number of the drivers touched in this series have no obvious active maintainer, so it would be much appreciated if anyone has time to take a look!
This is effectively part 2 of what will probably be around 5 series focused on moving from iio_device_claim/release_direct_mode() to iio_device_claim/release_direct(). The new form is more consistent with conditional locking semantics and sparse markings have been added that let us detect miss-balance between claim and release.
More details can be found in the cover letter of the first series:
https://lore.kernel.org/all/[email protected]/
This series focuses on the accelerometer drivers. There are a couple of fixes in here that showed up during the conversion. They are old issues in error paths that I guess no one hit in practice, so I see no reason to rush them in before the next merge window.
Jonathan Cameron (8):
iio: accel: mma8452: Ensure error return on failure to matching
oversampling ratio
iio: accel: mma8452: Factor out guts of write_raw() to simplify
locking
iio: accel: mma8452: Switch to sparse friendly
iio_device_claim/release_direct()
iio: accel: kx022a: Factor out guts of write_raw() to allow direct
returns
iio: accel: kx022a: Switch to sparse friendly
iio_device_claim/release_direct()
iio: accel: msa311: Fix failure to release runtime pm if direct mode
claim fails.
iio: accel: msa311: Switch to sparse friendly
iio_device_claim/release_direct()
iio: accel: Switch to sparse friendly
iio_device_claim/release_direct()
drivers/iio/accel/adxl372.c | 7 +-- drivers/iio/accel/adxl380.c | 7 +-- drivers/iio/accel/bma180.c | 7 +-- drivers/iio/accel/bmi088-accel-core.c | 7 ++- drivers/iio/accel/fxls8962af-core.c | 21 +++---- drivers/iio/accel/kionix-kx022a.c | 74 ++++++++++++----------- drivers/iio/accel/mma8452.c | 86 +++++++++++++-------------- drivers/iio/accel/msa311.c | 32 +++++----- 8 files changed, 119 insertions(+), 122 deletions(-)
Signature · 1 line
2.48.1