mbox series

[PULL] IIO: First round fixes for IIO in the 6.10 cycle

Message ID 20240604200632.6af3f262@jic23-huawei (mailing list archive)
State Handled Elsewhere
Headers show
Series [PULL] IIO: First round fixes for IIO in the 6.10 cycle | expand

Pull-request

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

Message

Jonathan Cameron June 4, 2024, 7:06 p.m. UTC
The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:

  Linux 6.10-rc1 (2024-05-26 15:20:12 -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.10a

for you to fetch changes up to 78f0dfa64cbd05f381849377a32e0a2f1afe9215:

  iio: inkern: fix channel read regression (2024-06-03 20:29:31 +0100)

----------------------------------------------------------------
1st set of IIO fixes for the 6.10 cycle.

The usual mixed bag of old and new driver bugs plus one core issue that
highlighted we have some documentation issues that we need to fix
as a follow up action.

core in kernel interface
- Wrong return value documentation didn't help with an error in
  a cleanup. Result is that thermal is failing to read the temperature.

adi,ad3552r
- Fix DT binding output range sign error.
adi,ad5592r
- Wrong scaling on temperature channel.
adi,ad7173
- Driver assumed all supported devices had input buffers. Make sure not to
  enable them on the ad7176-2 which doesn't.
- Add some missing device names for recently added models.
- Drop an unneeded zero index on the single temperature channel.
- Clear buffered capture specific control bit when returning to on
  demand sampling which otherwise no longer works.
- Make sampling frequency per channel rather than just setting it for the
  first channel.
adi,ad9467
- Capital S for sign of channel whereas ABI is lowercase.
bosch,bmi323
- Make sure to release the trigger even on error paths in the trigger
  handler as otherwise there is no path to recover.
bosch,bmp280
- Avoid an overflow in calculating the temperature.
invensense,timestamp helper
- Fix case where ODR is being switched to the existing ODR an update that
  never finishes.
- Fix an issue with the timestamp being updated whilst still handling
  previous interrupt (icm42600 and mpu6050)
invensense,icm42600
- Don't update the watermark parameters twice.
melexis,mlx90635
- Fix variable returned as error code.

----------------------------------------------------------------
Adam Rizkalla (1):
      iio: pressure: bmp280: Fix BMP580 temperature reading

Angelo Dureghello (1):
      dt-bindings: iio: dac: fix ad354xr output range

David Lechner (1):
      iio: adc: ad9467: fix scan type sign

Dumitru Ceclan (5):
      iio: adc: ad7173: fix buffers enablement for ad7176-2
      iio: adc: ad7173: Add ad7173_device_info names
      iio: adc: ad7173: Remove index from temp channel
      iio: adc: ad7173: Clear append status bit
      iio: adc: ad7173: Fix sampling frequency setting

Harshit Mogalapalli (1):
      iio: temperature: mlx90635: Fix ERR_PTR dereference in mlx90635_probe()

Jean-Baptiste Maneyrol (4):
      iio: invensense: fix odr switching to same value
      iio: imu: inv_icm42600: stabilized timestamp in interrupt
      iio: imu: inv_icm42600: delete unneeded update watermark call
      iio: imu: inv_mpu6050: stabilized timestamping in interrupt

Johan Hovold (1):
      iio: inkern: fix channel read regression

Marc Ferland (1):
      iio: dac: ad5592r: fix temperature channel scaling value

Vasileios Amoiridis (1):
      iio: imu: bmi323: Fix trigger notification in case of error

 .../devicetree/bindings/iio/dac/adi,ad3552r.yaml   |  2 +-
 drivers/iio/adc/ad7173.c                           | 37 +++++++++++-----------
 drivers/iio/adc/ad9467.c                           |  4 +--
 .../iio/common/inv_sensors/inv_sensors_timestamp.c |  6 +++-
 drivers/iio/dac/ad5592r-base.c                     |  2 +-
 drivers/iio/imu/bmi323/bmi323_core.c               |  5 +--
 drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c  |  4 ---
 drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c | 19 +++++++++--
 drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.h |  2 ++
 drivers/iio/imu/inv_icm42600/inv_icm42600_core.c   |  1 +
 drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c   |  4 ---
 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c         |  4 +--
 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c      |  1 +
 drivers/iio/inkern.c                               |  2 +-
 drivers/iio/pressure/bmp280-core.c                 | 10 +++---
 drivers/iio/temperature/mlx90635.c                 |  6 ++--
 16 files changed, 63 insertions(+), 46 deletions(-)

Comments

Greg KH June 7, 2024, 7:06 p.m. UTC | #1
On Tue, Jun 04, 2024 at 08:06:32PM +0100, Jonathan Cameron wrote:
> The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:
> 
>   Linux 6.10-rc1 (2024-05-26 15:20:12 -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.10a

Pulled and pushed out, thanks.

greg k-b