[PULL] IIO: 1st set of fixes for 6.13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit cdd30ebb1b9f36159d66f088b61aee264e649d7a:

  module: Convert symbol namespace to string literal (2024-12-02 11:34:44 -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.13a

for you to fetch changes up to 54d394905c92b9ecc65c1f9b2692c8e10716d8e1:

  iio: adc: ti-ads1119: fix sample size in scan struct for triggered buffer (2024-12-08 16:59:13 +0000)

----------------------------------------------------------------
IIO: 1st set of fixes for 6.13 cycle.

The usual mixed back of fixes for ancient and recent bugs

A number of these were from an audit by Javier Carrasco of places
we may leak stack data via holes in structures passed to userspace that
were not explicitly zeroed. Very helpful effort after we found a similar
bug in review of new code.

This affected:
- dummy driver
- kionix,kmx61
- murrata,zpa2326
- rockchip,saradc
- rohm,bh1745
- veml,vcnl4035
- ti,ads1119
- ti,ads8688
- ti,tmp0006

Other fixes:

core,inkern
- Underflow fo reference count issue in error path of iio_channel_get_all()
  for devices we haven't yet gotten.
tests
- Kconfig typo fix so it's possible to tell what test is being enabled.
- Check for allocation failures.

adi,ad4695
- Ensure timing requirement wrt to final clock edge vs next conversion
  signal are met by adding an additional SPI transfer.
adi,ad7124
- Ensure channels are disabled at probe to avoid wrong data if channel 0
  is not the first one read.
adi,ad7173
- Fix handing of multiple devices by not editing a single static
  structure and instead making a per instance copy.
adi,ad9467
- Fix handing of multiple devices by not editing a single static
  structure and instead making a per instance copy.
adi,ad9832
- Off by one error on input verification for phase control
adi,ad9834
- Off by one error on input verification for phase control.
atmel,at91
- In an error path don't use a variable that hasn't been initialized yet.
invensense,icm42600
- SPI burst write does not work for some icm426000 chips, disable it.
- Ensure correct handling of timestamps after resume.
st,sensors
- Add back accidentally dropped IIS2MDC compatible in binding doc.
st,stm32-dfsdm:
- label property was accidentally made a required property. Make it optional
  again to fix use of older DT.
ti,ads1119
- Use a fixed size for the channel data rather than an integer, bringing
  the code inline with the advertised 16 bit channel size and avoiding
  userspace misinterpreting the data.
ti,ads124s08
- Use _cansleep gpio calls as no reason to prevent sleeping and it
  was stopping a new board design working (trivial fix).
ti,ads1298
- Add a check on failure of devm_kasprintf()

----------------------------------------------------------------
Carlos Song (1):
      iio: gyro: fxas21002c: Fix missing data update in trigger handler

Charles Han (1):
      iio: adc: ti-ads1298: Add NULL check in ads1298_init

Christophe JAILLET (1):
      iio: adc: ad9467: Fix the "don't allow reading vref if not available" case

David Lechner (1):
      iio: adc: ad7173: fix using shared static info struct

Fabio Estevam (1):
      iio: adc: ti-ads124s08: Use gpiod_set_value_cansleep()

Javier Carrasco (10):
      iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer
      iio: adc: ti-ads8688: fix information leak in triggered buffer
      iio: light: bh1745: fix information leak in triggered buffer
      iio: light: vcnl4035: fix information leak in triggered buffer
      iio: imu: kmx61: fix information leak in triggered buffer
      iio: adc: rockchip_saradc: fix information leak in triggered buffer
      iio: pressure: zpa2326: fix information leak in triggered buffer
      iio: adc: ti-ads1119: fix information leak in triggered buffer
      iio: temperature: tmp006: fix information leak in triggered buffer
      iio: adc: ti-ads1119: fix sample size in scan struct for triggered buffer

Jean-Baptiste Maneyrol (2):
      iio: imu: inv_icm42600: fix spi burst write not supported
      iio: imu: inv_icm42600: fix timestamps after suspend if sensor is on

Joe Hattori (2):
      iio: adc: at91: call input_free_device() on allocated iio_dev
      iio: inkern: call iio_device_put() only on mapped devices

Matti Vaittinen (1):
      iio: test: Fix GTS test config

Olivier Moysan (1):
      iio: adc: stm32-dfsdm: handle label as an optional property

Pei Xiao (1):
      iio: test : check null return of kunit_kmalloc in iio_rescale_test_scale

Sean Nyekjaer (1):
      dt-bindings: iio: st-sensors: Re-add IIS2MDC magnetometer

Trevor Gamblin (1):
      iio: adc: ad4695: fix buffered read, single sample timings

Uwe Kleine-König (1):
      iio: adc: ad7124: Disable all channels at probe time

Zicheng Qu (2):
      staging: iio: ad9834: Correct phase range check
      staging: iio: ad9832: Correct phase range check

 .../devicetree/bindings/iio/st,st-sensors.yaml     |   1 +
 drivers/iio/adc/ad4695.c                           | 100 ++++++++++++++-------
 drivers/iio/adc/ad7124.c                           |   3 +
 drivers/iio/adc/ad7173.c                           |  10 ++-
 drivers/iio/adc/ad9467.c                           |  15 +++-
 drivers/iio/adc/at91_adc.c                         |   2 +-
 drivers/iio/adc/rockchip_saradc.c                  |   2 +
 drivers/iio/adc/stm32-dfsdm-adc.c                  |  13 +--
 drivers/iio/adc/ti-ads1119.c                       |   4 +-
 drivers/iio/adc/ti-ads124s08.c                     |   4 +-
 drivers/iio/adc/ti-ads1298.c                       |   2 +
 drivers/iio/adc/ti-ads8688.c                       |   2 +-
 drivers/iio/dummy/iio_simple_dummy_buffer.c        |   2 +-
 drivers/iio/gyro/fxas21002c_core.c                 |   9 +-
 drivers/iio/imu/inv_icm42600/inv_icm42600.h        |   1 +
 drivers/iio/imu/inv_icm42600/inv_icm42600_core.c   |  22 ++++-
 drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c    |   3 +-
 drivers/iio/imu/kmx61.c                            |   2 +-
 drivers/iio/inkern.c                               |   2 +-
 drivers/iio/light/bh1745.c                         |   2 +
 drivers/iio/light/vcnl4035.c                       |   2 +-
 drivers/iio/pressure/zpa2326.c                     |   2 +
 drivers/iio/temperature/tmp006.c                   |   2 +
 drivers/iio/test/Kconfig                           |   2 +-
 drivers/iio/test/iio-test-rescale.c                |   4 +
 drivers/staging/iio/frequency/ad9832.c             |   2 +-
 drivers/staging/iio/frequency/ad9834.c             |   2 +-
 27 files changed, 159 insertions(+), 58 deletions(-)





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux