Skip to content

IIO: ADCs: Sparse friendly claim of direct mode

Jonathan Cameron linux-iio 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 4 repliesIn review
  2. v129 patches 25 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8iio: adc: vf610: Move claim of direct mode to caller of vf610_read_sample and use guard(mutex)drivers/iio/adc/vf610_adc.c+14 -230 replies
2/8iio: adc: vf610: Switch to sparse friendly iio_device_claim/release_direct()drivers/iio/adc/vf610_adc.c+3 -40 replies
3/8iio: adc: ti-ads1100: Use guard(mutex) to allow direct returnsdrivers/iio/adc/ti-ads1100.c+14 -250 replies
4/8iio: adc: ti-ads1100: Switch to sparse friendly iio_device_claim/release_direct()drivers/iio/adc/ti-ads1100.c+3 -40 replies
5/8iio: adc: ti-ads1015: Use guard(mutex) and factor out code for INFO_RAWdrivers/iio/adc/ti-ads1015.c+64 -982 replies
6/8iio: adc: ti-ads1015: Switch to sparse friendly iio_device_claim/release_direct()drivers/iio/adc/ti-ads1015.c+6 -80 replies
7/8iio: adc: mxs-lradc: Switch to sparse friendly iio_device_claim/release_direct()drivers/iio/adc/mxs-lradc-adc.c+6 -80 replies
8/8iio: adc: rcar: Switch to sparse friendly iio_device_claim/release_direct()drivers/iio/adc/rcar-gyroadc.c+4 -50 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid Lechner
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v2 thread

Cover letter [PATCH v2 0/8] IIO: ADCs: Sparse friendly claim of direct mode

From: Jonathan Cameron <[email protected]>

Resend of remaining unreviewed updates in drivers/iio/adc/*

I will eventually just apply these, but I'd much rather someone else took a quick look to check I haven't done anything stupid!

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! It is a large series so feel free to review any you have time to look at rather than feeling you need to look at the whole thing!

This is effectively part 3 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 ADC drivers.

Jonathan Cameron (8):
iio: adc: vf610: Move claim of direct mode to caller of
vf610_read_sample and use guard(mutex)
iio: adc: vf610: Switch to sparse friendly
iio_device_claim/release_direct()
iio: adc: ti-ads1100: Use guard(mutex) to allow direct returns
iio: adc: ti-ads1100: Switch to sparse friendly
iio_device_claim/release_direct()
iio: adc: ti-ads1015: Use guard(mutex) and factor out code for
INFO_RAW
iio: adc: ti-ads1015: Switch to sparse friendly
iio_device_claim/release_direct()
iio: adc: mxs-lradc: Switch to sparse friendly
iio_device_claim/release_direct()
iio: adc: rcar: Switch to sparse friendly
iio_device_claim/release_direct()

 drivers/iio/adc/mxs-lradc-adc.c |  14 ++-
 drivers/iio/adc/rcar-gyroadc.c  |   9 +-
 drivers/iio/adc/ti-ads1015.c    | 168 +++++++++++++-------------------
 drivers/iio/adc/ti-ads1100.c    |  44 +++------
 drivers/iio/adc/vf610_adc.c     |  36 +++----
 5 files changed, 105 insertions(+), 166 deletions(-)
Signature · 1 line
2.48.1