Skip to content

iio: adc: ad7124: Fixes and devm_ for all of probe

Jonathan Cameron linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: adc: ad7124: Fix missbalanced regulator enable / disable on error.drivers/iio/adc/ad7124.c+13 -161 reply
2/3iio: adc: ad7124: Fix potential overflow due to non sequential channel numbersdrivers/iio/adc/ad7124.c+7 -01 reply
3/3iio: adc: ad7124: Use devm_ managed calls for all of probe() + drop remove()drivers/iio/adc/ad7124.c+24 -291 reply

Reviews trailers per patch

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

PatchAlexandru Ardelean
1/3R-b
2/3R-b
3/3R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] iio: adc: ad7124: Fixes and devm_ for all of probe

From: Jonathan Cameron <[email protected]>

I noticed an issue around regulator error handling and managed to hit another with my hacked together test setup. Hence let's fix those two issues first then we might as well follow up by converting the last few bits of this driver to use device managed functions so we can simplify the error handling and cleanup.

Testing conducted with QEMU hacking and insertion of errors at relevant locations in the code.

Jonathan Cameron (3):
iio: adc: ad7124: Fix missbalanced regulator enable / disable on
error.
iio: adc: ad7124: Fix potential overflow due to non sequential channel
numbers
iio: adc: ad7124: Use devm_ managed calls for all of probe() + drop
remove()

 drivers/iio/adc/ad7124.c | 89 ++++++++++++++++++++--------------------
 1 file changed, 44 insertions(+), 45 deletions(-)
Signature · 1 line
2.31.1