[PATCH 00/12] ROHM IIO fixes

Matti Vaittinen <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Fix a few issues from IIO drivers for ROHM components.

I hired couple of gnomes to work for me. :) (Ran AI reviews).
Unsurprizingly some bugs were spotted. Time to try fix mess (mostly) I
have authored.

Bugs were found by AI review but fixes are made by hand. Hence no
AI-tooling tags are added. Please, let me know if one is needed.

---

NOTE: Only _very_ shallow testing is done. Some of the fixes are not
tested in the hardware at all. All reviewing and testing is appreciated
as usual!

Matti Vaittinen (12):
  iio: adc: rohm-bd79124: Fix rising alarm
  iio: adc: rohm-bd79124: Fix channel initialization
  iio: adc: rohm-bd79124: Fix GPIO mask check
  iio: adc: rohm-bd79124: Catch regmap errors at measurement start/stop
  iio: dac: rohm-bd79703: Do not allow writing SCALE
  iio: pressure: rohm-bm1390: Return error when read fails
  iio: pressure: rohm-bm1390: Fix AVE_NUM initialization
  iio: light: rohm-bu27034: Fix error return
  iio: light: rohm-bu27034: Fix infinite delay on error
  iio: accel: kionix-kx022a: Fix array boundary check
  iio: accel: kionix-kx022a: Prevent memory leak and fix state
  iio: accel: kionix-kx022a: Fix IPOL macro name

 drivers/iio/accel/kionix-kx022a.c  | 29 +++++++++++++++++++++++------
 drivers/iio/accel/kionix-kx022a.h  |  2 +-
 drivers/iio/adc/rohm-bd79124.c     | 20 ++++++++++++++------
 drivers/iio/dac/rohm-bd79703.c     |  3 +++
 drivers/iio/light/rohm-bu27034.c   | 12 +++++++++++-
 drivers/iio/pressure/rohm-bm1390.c |  6 ++++--
 6 files changed, 56 insertions(+), 16 deletions(-)


base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
-- 
2.55.0
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEIx+f8wZb28fLKEhTeFA3/03aocUFAmp5gnoACgkQeFA3/03a
ocU02gf/T8DREGoKYp2nhPmomyHgM3yEMECX5bjfDGaR53zYxK8ORFDtlnprybfu
Q0cdxku/UH1dITJTFKq2JVz75rEn1vFsMcFdzevpox9QXY3plmQYH7NJuWW4+9cu
746L0ibPiaF4IlISiRSchsL6yiXS0ZqaGA6UXAMBGu16y8jJSz5ZEzaeK98wdKtC
7VsD1MFQbC5bj+AXOoQ1ky5i6G4FB0ikaz1XbzEbX6S/YbInffD9qmgMOeLksymD
qpxayFI2ztGXgbItFJcG4GH9VPeFkzovdkBdKpAk+Pb3rQ/RSPLvsV8ImuffHLsi
lmy/e31UXEVvVwnbFLIgcL+AjR3YlA==
=m3vA
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.