The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5: Linux 6.5-rc1 (2023-07-09 13:53:13 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-fixes-for-6.5a for you to fetch changes up to 8a4629055ef55177b5b63dab1ecce676bd8cccdd: iio: cros_ec: Fix the allocation size for cros_ec_command (2023-07-29 12:21:21 +0100) ---------------------------------------------------------------- 1st set of IIO fixes for 6.5 Usual mixed bag of fixes for recently introduced issues and ones from way back that have recently been noticed. * core - Avoid a device with no parent issues seen on the dummy example device. * adi,ad71145 - Drop ref now that dt-schema supports -nanoamp. * adi,ad7192 - Fix wrong bit set for enabling AC excitation and exposure of control on devices without the feature. * adi,admv1013 - Don't ignore errors from regulator_get_voltage(). * amlogic,meson-adc - Make sure clocks enabled early enough. * google,cros_ec - Fix undersized cros_ec_command allocation that resulted in a buffer overrun. * rohm,bu27008 - Fix truncation issue with scale format that prevents smallest value being set - Report intensity as unsigned. Previously large values would be interpretted as negative intensities (and odd concept). * rohm,bu27034 - Fix truncation issue with scale format that prevents smallest value being set. * st,lsm6dsx - Return an error code, not false (which is 0 and hence success) to indicate ACPI mount matrix retrieval failed due to no ACPI support. * ti,ina2xx - Avoid a NULL pointer dereference if fall back compatible is used. ---------------------------------------------------------------- Alejandro Tafalla (1): iio: imu: lsm6dsx: Fix mount matrix retrieval Alisa Roman (1): iio: adc: ad7192: Fix ac excitation feature Alvin Šipraga (1): iio: adc: ina2xx: avoid NULL pointer dereference on OF device match Dan Carpenter (1): iio: frequency: admv1013: propagate errors from regulator_get_voltage() George Stark (1): iio: adc: meson: fix core clock enable/disable moment Krzysztof Kozlowski (1): dt-bindings: iio: adi,ad74115: remove ref from -nanoamp Matti Vaittinen (3): iio: light: bu27034: Fix scale format iio: light: bu27008: Fix scale format iio: light: bu27008: Fix intensity data type Milan Zamazal (1): iio: core: Prevent invalid memory access when there is no parent Yiyuan Guo (1): iio: cros_ec: Fix the allocation size for cros_ec_command .../devicetree/bindings/iio/addac/adi,ad74115.yaml | 3 --- drivers/iio/adc/ad7192.c | 16 +++++++-------- drivers/iio/adc/ina2xx-adc.c | 9 ++++++--- drivers/iio/adc/meson_saradc.c | 23 +++++++++++----------- .../common/cros_ec_sensors/cros_ec_sensors_core.c | 2 +- drivers/iio/frequency/admv1013.c | 5 ++++- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 2 +- drivers/iio/industrialio-core.c | 5 +++-- drivers/iio/light/rohm-bu27008.c | 22 ++++++++++++++++++--- drivers/iio/light/rohm-bu27034.c | 22 ++++++++++++++++++--- 10 files changed, 73 insertions(+), 36 deletions(-)