Skip to contentSkip to conversation

IIO: 1st set of fixes for the 6.8 cycle.

GIT PULL Jonathan Cameron 2 participants 2 messages Feb 11, 2024 – Feb 14, 2024 IIO

lore
Share & tools
lore

Jonathan Cameron

author maintainer
#0 lore raw

The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 78367c32bebfe833cd30c855755d863a4ff3fdee:

iio: adc: ad4130: only set GPIO_CTRL if pin is unused (2024-02-10 16:52:39 +0000)

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

Usual mixed bag of issues introduced this cycle and fixes for long term issues that have been identified recently + one case where I messed up a merge resolution and dropped the build file changes.

Most important is the userspace ABI fix for the iio_modifier enum where we accidentally added new entries in the middle rather than at the end.

IIO Core
- Close a memory leak in an error path.
- Move LIGHT_UVA and LIGHT_UVB definitions to end of the iio_modifier enum to avoid breaking older userspace. (not yet in a released kernel thankfully).

adi,adis
- Fix a DMA buffer alignment issue that was missing in series that fixed these across IIO.

adi,ad-sigma-delta
- Fix a DMA buffer alignment issue that was missing in series that fixed these across IIO.

adi,ad4130
- Zero init remaining fields of clock init data.
- Only set GPIO control bits on pins that aren't in use for anything else.

adi,ad5933
- Fix an old bug due to type mismatch. This is a rare device so good to get some new test coverage.

adi,ad7091r
- Use right variable for an error return code.

bosch,bma400
- Add missing CONFIG_REGMAP_I2C dependency.

bosch,bmp280:
- Add missing bmp085 ID to the SPI table to avoid mismatch with the of_device_id table.

hid-sensors:
- Avoid returning an error for timestamp read back that succeeds.

pni,rm3100
- Check value read from RM31000_REG_TMRC register is valid before using it. Hardening to avoid a real world issue seen on some faulty hardware.

st,st-sensors
- Fix a DMA buffer alignment issue that was missing in series that fixed these across IIO.

ti,hdc3020
- Add missing Kconfig and Makefile entrees accidentally dropped when patches were applied.
- Fix wrong temperature offset (negated)

----------------------------------------------------------------
Cosmin Tanislav (2):
iio: adc: ad4130: zero-initialize clock init data
iio: adc: ad4130: only set GPIO_CTRL if pin is unused

Dan Carpenter (1):

      iio: adc: ad7091r8: Fix error code in ad7091r8_gpio_setup()

David Schiller (1):
staging: iio: ad5933: fix type mismatch regression

Dimitri Fedrau (1):
iio: humidity: hdc3020: fix temperature offset

Dinghao Liu (1):
iio: core: fix memleak in iio_device_register_sysfs

Javier Carrasco (1):
iio: move LIGHT_UVA and LIGHT_UVB to the end of iio_modifier

Jonathan Cameron (1):
iio: humidity: hdc3020: Add Makefile, Kconfig and MAINTAINERS entry

Mario Limonciello (1):
iio: accel: bma400: Fix a compilation problem

Nuno Sa (3):
iio: imu: adis: ensure proper DMA alignment
iio: adc: ad_sigma_delta: ensure proper DMA alignment
iio: commom: st_sensors: ensure proper DMA alignment

Randy Dunlap (1):
iio: imu: bno055: serdev requires REGMAP

Sam Protsenko (1):
iio: pressure: bmp280: Add missing bmp085 to SPI id table

Srinivas Pandruvada (1):
iio: hid-sensor-als: Return 0 for HID_USAGE_SENSOR_TIME_TIMESTAMP

zhili.liu (1):
iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC

 MAINTAINERS                                     |  8 ++++++++
 drivers/iio/accel/Kconfig                       |  2 ++
 drivers/iio/adc/ad4130.c                        | 12 ++++++++----
 drivers/iio/adc/ad7091r8.c                      |  2 +-
 drivers/iio/humidity/Kconfig                    | 12 ++++++++++++
 drivers/iio/humidity/Makefile                   |  1 +
 drivers/iio/humidity/hdc3020.c                  |  2 +-
 drivers/iio/imu/bno055/Kconfig                  |  1 +
 drivers/iio/industrialio-core.c                 |  5 ++++-
 drivers/iio/light/hid-sensor-als.c              |  1 +
 drivers/iio/magnetometer/rm3100-core.c          | 10 ++++++++--
 drivers/iio/pressure/bmp280-spi.c               |  1 +
 drivers/staging/iio/impedance-analyzer/ad5933.c |  2 +-
 include/linux/iio/adc/ad_sigma_delta.h          |  4 +++-
 include/linux/iio/common/st_sensors.h           |  4 ++--
 include/linux/iio/imu/adis.h                    |  3 ++-
 include/uapi/linux/iio/types.h                  |  4 ++--
 17 files changed, 58 insertions(+), 16 deletions(-)