mbox series

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

Message ID 20240819203734.0866fd2c@jic23-huawei (mailing list archive)
State Handled Elsewhere
Headers show
Series [PULL] IIO: 1st set of fixes for 6.11 | expand

Pull-request

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

Message

Jonathan Cameron Aug. 19, 2024, 7:37 p.m. UTC
The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b:

  Linux 6.11-rc1 (2024-07-28 14:19:55 -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.11a

for you to fetch changes up to 0a3b517c8089aa4cf339f41460d542c681409386:

  iio: imu: inv_mpu6050: fix interrupt status read for old buggy chips (2024-08-17 15:31:41 +0100)

----------------------------------------------------------------
IIO: 1st set of fixes for 6.11

The usual mixed bag of new issues and ancient ones.
The fact so many are ADI is probably due to an uptick in upstreaming
effort from Analog + Baylibre  meaning existing code is getting more eyes
on it. Hence it's a good sign not a reflection of inherent high bug
incidence!

Core and helper related
-----------------------

in kernel interfaces
- Fix missing application of scale to the integer part of
  IIO_INT_PLUS_XXX value pairs when using the
  iio_convert_raw_to_processed*() helper.
buffer-dmaengine
- Make sure to release DMA channel in error path.

Driver related
--------------

adi,ad-sigma-delta library
- Check irq-flags for the correct irq if multiple are provided.
adi,ad7124
- Wait after reset before reading the chip ID register.
- Compare only the relevant field when looking for an existing
  config to reuse for a new channel.
- Fix an off by one in which channel config is being filled from
  firmware.
adi,ad7173
- Fix missing vendor prefix in compatible strings.
- Fix wrong info for GPIO related bit positions for ad4114,ad4115 and ad4116.
adi,ad7606
- Drop incorrect check on frstdata when in serial mode, it only applies to
  parallel mode.
adi,ad9834
- Check userspace input for frequency parameter to avoid div by zero.
invensense,mpu6050
- Avoid reading interrupt status on some older chips as it seems there
  is a hardware problem that surfaces as a result of adding wake on
  motion support to the driver (which these chips don't support).
ti,ads1119
- Fix incorrect IRQ flag (new driver so no firmware compatibility regression
  issues with fixing this now).

----------------------------------------------------------------
Aleksandr Mishin (1):
      staging: iio: frequency: ad9834: Validate frequency parameter value

David Lechner (1):
      iio: buffer-dmaengine: fix releasing dma channel on error

Dumitru Ceclan (5):
      iio: adc: ad7173: Fix incorrect compatible string
      iio: adc: ad7124: fix chip ID mismatch
      iio: adc: ad7124: fix config comparison
      iio: adc: ad7124: fix DT configuration parsing
      iio: adc: ad7173: fix GPIO device info

Francesco Dolcini (1):
      iio: adc: ads1119: Fix IRQ flags

Guillaume Stols (1):
      iio: adc: ad7606: remove frstdata check for serial mode

Jean-Baptiste Maneyrol (1):
      iio: imu: inv_mpu6050: fix interrupt status read for old buggy chips

Matteo Martelli (1):
      iio: fix scale application in iio_convert_raw_to_processed_unlocked

Nuno Sa (1):
      iio: adc: ad_sigma_delta: fix irq_flags on irq request

 drivers/iio/adc/ad7124.c                           | 30 ++++++++------
 drivers/iio/adc/ad7173.c                           | 13 +++---
 drivers/iio/adc/ad7606.c                           | 28 +------------
 drivers/iio/adc/ad7606.h                           |  2 +
 drivers/iio/adc/ad7606_par.c                       | 48 ++++++++++++++++++++--
 drivers/iio/adc/ad_sigma_delta.c                   |  2 +-
 drivers/iio/adc/ti-ads1119.c                       |  2 +-
 drivers/iio/buffer/industrialio-buffer-dmaengine.c |  4 +-
 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c      | 13 +++++-
 drivers/iio/inkern.c                               |  8 ++--
 drivers/staging/iio/frequency/ad9834.c             |  2 +-
 11 files changed, 92 insertions(+), 60 deletions(-)

Comments

Greg KH Sept. 3, 2024, 10:17 a.m. UTC | #1
On Mon, Aug 19, 2024 at 08:37:34PM +0100, Jonathan Cameron wrote:
> The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b:
> 
>   Linux 6.11-rc1 (2024-07-28 14:19:55 -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.11a

Pulled and pushed out, thanks.

greg k-h