[PATCH v2 0/4] ROHM IIO fixes

From: Matti Vaittinen

Date: Fri Aug 28 2026 - 03:41:09 EST


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 that the patch 1/4 is already applied to Jonathan's testing repo.
Including it because I couldn't find it from IIO's public repo to rebase
the series on it.

Revision history:
v1 => v2:
- Drop already applied patches (except the 1/4 which is in testing)
- all: Fixes tag before SOB
- patch 2/4: Clarify units for minimum integration time
- patch 3/4: Fix the unwinding of fifo enable
- patch 4/4: Fix the broken commit message

---

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 (4):
iio: pressure: rohm-bm1390: Fix AVE_NUM initialization
iio: light: rohm-bu27034: Fix infinite delay on error
iio: accel: kionix-kx022a: Prevent memory leak and fix state
iio: accel: kionix-kx022a: Fix IPOL macro name

drivers/iio/accel/kionix-kx022a.c | 28 +++++++++++++++++++++++-----
drivers/iio/accel/kionix-kx022a.h | 2 +-
drivers/iio/light/rohm-bu27034.c | 10 ++++++++++
drivers/iio/pressure/rohm-bm1390.c | 4 +++-
4 files changed, 37 insertions(+), 7 deletions(-)


base-commit: 6b9f23b5460818aaf199dda90210d5fc08d66c8f
--
2.55.0

Attachment: signature.asc
Description: PGP signature