iio: adc: ad7124: Fixes and devm_ for all of probe
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | iio: adc: ad7124: Fix missbalanced regulator enable / disable on error.drivers/ | +13 | 1 reply | |
| 2/3 | iio: adc: ad7124: Fix potential overflow due to non sequential channel numbersdrivers/ | +7 | 1 reply | |
| 3/3 | iio: adc: ad7124: Use devm_ managed calls for all of probe() + drop remove()drivers/ | +24 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Alexandru Ardelean |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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