The following changes since commit d0bc3b92fb9b2c3c981984d52fffe8cca77165dc: Merge tag 'iio-fixes-for-6.12b' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next (2024-10-29 04:10:12 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-fixes-for-6.12c for you to fetch changes up to 3993ca4add248f0f853f54f9273a7de850639f33: iio: Fix fwnode_handle in __fwnode_iio_channel_get_by_name() (2024-11-02 15:18:52 +0000) ---------------------------------------------------------------- IIO: 3rd set of fixes for the 6.12 cycle Usual mixed bag of new issues from this cycle and ancient bugs recently noticed. core - Fix wrong fwnode handle if __fwnode_iio_channel_get_by_name() looks at parents of the provider node. core,backend - Fix a wrong pointer error check. gts library - Fix plausible corner case where the value returned was not set. - Avoid near infinite loop if the size of the table is 0. (neither are an issue for current drivers). adi,ad4000 - Fix reading of unsigned channels that were returning garbage. adi,ad7780 - Prevent a division by zero. adi,ad7923 - Fix buffer overflows in arrays that were not resized when devices with more channels were added to the driver. adi,adxl380 - Check only for negative error codes rather than including the positive channel read values in an error check. invense,common - Fix an issue where changing the sampling rate to another value and back again whilst the FIFO was off would not update things correctly. kionix,kx022a - Fix failure to sign extend value read from device. ---------------------------------------------------------------- Antoniu Miclaus (1): iio: accel: adxl380: fix raw sample read David Lechner (1): iio: adc: ad4000: fix reading unsigned data Jean-Baptiste Maneyrol (1): iio: invensense: fix multiple odr switch when FIFO is off Matti Vaittinen (1): iio: accel: kx022a: Fix raw read format Nuno Sa (1): iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer Yang Yingliang (1): iio: backend: fix wrong pointer passed to IS_ERR() Zicheng Qu (4): ad7780: fix division by zero in ad7780_write_raw() iio: gts: Fix uninitialized symbol 'ret' iio: gts: fix infinite loop for gain_to_scaletables() iio: Fix fwnode_handle in __fwnode_iio_channel_get_by_name() drivers/iio/accel/adxl380.c | 2 +- drivers/iio/accel/kionix-kx022a.c | 2 +- drivers/iio/adc/ad4000.c | 2 ++ drivers/iio/adc/ad7780.c | 2 +- drivers/iio/adc/ad7923.c | 4 ++-- drivers/iio/common/inv_sensors/inv_sensors_timestamp.c | 4 ++++ drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c | 2 -- drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c | 3 --- drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c | 1 - drivers/iio/industrialio-backend.c | 4 ++-- drivers/iio/industrialio-gts-helper.c | 4 ++-- drivers/iio/inkern.c | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-)