Skip to contentSkip to conversation

IIO: 1st set of fixes for 7.0

GIT PULL Jonathan Cameron 2 participants 2 messages Feb 26 IIO

lore
Share & tools
lore

Jonathan Cameron

author maintainer
#0 lore raw

The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-fixes-for-7.0a

for you to fetch changes up to 9990cd4f8827bd1ae3fb6eb7407630d8d463c430:

iio: imu: adis: Fix NULL pointer dereference in adis_init (2026-02-23 08:24:39 +0000)

----------------------------------------------------------------
IIO: 1st set of fixes for the 7.0 cycle

Usual mixed bag of ancient bugs that have been discovered and more recent stuff.

core
- Cleanup a wait_queue if a driver is removed at exacty the wrong moment.
adi,adf4377
- Check correct masks when waiting for reset to complete. adi,adis
- Fix a NULL pointer dereference if ops not provided to adis_init() bosch,bme680
- Fix typo in value used to calculate measurement wait duration. infineon,tlv493d
- Drop incorrect shifting of some bits for x-axis invensense,icm42600
- Fix corner case of output data rate being set to the value it already has which resulted in waiting for ever for a flag to say the update was completed.
- Fix a case where the buffer is turned off whilst ODR switch is in progress. invensense,icm45600
- Interrupt 1 drive bit was inverted.
- Fix a underflow for regulator put warning if probe fails invensense,mpu9150
- Work around a hardware quirk where reading from irq status is not sufficient to acknowledge an interrupt.
maxim,ds4424
- Reject -128 as a possible raw value as it's out of range with the sign / magnitude encoding used by this chip.
microchip,mcp4131
- Shift the wiper value only once.
rohm,bh1780
- Fix a runtime reference count issue on an error path. sensiron,sps30
- Fix two buffer size issues due to sizeof() wrong thing. tyhx,hx9023s
- Ensure count used by __counted_by is set before accessing the buffer.
- Avoid a potential division by zero.

----------------------------------------------------------------
Andreas Kemnade (1):
iio: imu: inv-mpu9150: fix irq ack preventing irq storms

Antoniu Miclaus (6):
iio: light: bh1780: fix PM runtime leak on error path
iio: magnetometer: tlv493d: remove erroneous shift in X-axis data
iio: chemical: sps30_i2c: fix buffer size in sps30_i2c_read_meas()
iio: chemical: sps30_serial: fix buffer size in sps30_serial_read_meas()
iio: gyro: mpu3050-i2c: fix pm_runtime error handling
iio: gyro: mpu3050-core: fix pm_runtime error handling

Chris Spencer (1):
iio: chemical: bme680: Fix measurement wait duration calculation

Ethan Tidmore (1):
iio: adc: ad7768-1: Fix ERR_PTR dereference in ad7768_fill_scale_tbl

Jean-Baptiste Maneyrol (4):
iio: imu: inv_icm42600: fix odr switch to the same value
iio: imu: inv_icm42600: fix odr switch when turning buffer off
iio: imu: inv_icm45600: fix INT1 drive bit inverted
iio: imu: inv_icm45600: fix regulator put warning when probe fails

Lukas Schmid (1):
iio: potentiometer: mcp4131: fix double application of wiper shift

Nuno Sá (1):
iio: buffer: Fix wait_queue not being removed

Oleksij Rempel (1):

      iio: dac: ds4424: reject -128 RAW value

Radu Sabau (1):
iio: imu: adis: Fix NULL pointer dereference in adis_init

SeungJu Cheon (1):
iio: frequency: adf4377: Fix duplicated soft reset mask

Yasin Lee (2):
iio: proximity: hx9023s: fix assignment order for __counted_by
iio: proximity: hx9023s: Protect against division by zero in set_samp_freq

 drivers/iio/adc/ad7768-1.c                         | 13 +++++++++++--
 drivers/iio/chemical/bme680_core.c                 |  2 +-
 drivers/iio/chemical/sps30_i2c.c                   |  2 +-
 drivers/iio/chemical/sps30_serial.c                |  2 +-
 drivers/iio/dac/ds4424.c                           |  2 +-
 drivers/iio/frequency/adf4377.c                    |  2 +-
 drivers/iio/gyro/mpu3050-core.c                    | 18 +++++++++++++-----
 drivers/iio/gyro/mpu3050-i2c.c                     |  3 +--
 drivers/iio/imu/adis.c                             |  2 +-
 drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c  |  2 ++
 drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c |  4 ++++
 drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c   |  2 ++
 drivers/iio/imu/inv_icm45600/inv_icm45600.h        |  2 +-
 drivers/iio/imu/inv_icm45600/inv_icm45600_core.c   | 11 ++++++++---
 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c         |  8 ++++++++
 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h          |  2 ++
 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c      |  5 ++++-
 drivers/iio/industrialio-buffer.c                  |  6 ++++--
 drivers/iio/light/bh1780.c                         |  2 +-
 drivers/iio/magnetometer/tlv493d.c                 |  2 +-
 drivers/iio/potentiometer/mcp4131.c                |  2 +-
 drivers/iio/proximity/hx9023s.c                    |  6 ++++--
 22 files changed, 73 insertions(+), 27 deletions(-)