mbox series

[PULL] IIO fixes for 6.2 - set 1

Message ID 20230123194738.25eb2a1a@jic23-huawei (mailing list archive)
State Handled Elsewhere
Headers show
Series [PULL] IIO fixes for 6.2 - set 1 | expand

Pull-request

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

Message

Jonathan Cameron Jan. 23, 2023, 7:47 p.m. UTC
The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

  Linux 6.2-rc1 (2022-12-25 13:41:39 -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.2a

for you to fetch changes up to 2acd031347f645871959a799238a7caf6803aa18:

  iio: imu: fxos8700: fix MAGN sensor scale and unit (2023-01-21 18:15:19 +0000)

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

The usual mixed bag - with a bunch of issues found by Carlos Song
in the fxos8700 IMU driver dominating.

hid-accel,gyro
 - Fix wrong returned value when read succeeds.
marvell,berlin-adc
 - Missing of_node_put() in an error path.
nxp,fxos8700 (freescale)
 - Wrong channel type match.
 - Swapped channel read back.
 - Incomplete channel read back (not enough bytes).
 - Missing shift of acceleration data.
 - Range selection didn't work (datasheet bug)
 - Wrong ODR mode read back due to wrong field offset.
 - Drop unused, but wrong define.
 - Fix issue with magnetometer scale an units.
nxp,imx8qxp
- Fix an irq flood due to not reading data early enough.
st,lsm6dsx
 - Add CONFIG_IIO_TRIGGERED_BUFFER select.
st,stm32-adc
 - Fix missing MODULE_DEVICE_TABLE() needed for module aliases.
ti,twl6030
 - Fix missing enable of some channels.
 - Fix a typo in previous patch that meant one channel still wasn't enabled.
xilinx,xadc
 - Carrying on incorrectly after allocation error.

----------------------------------------------------------------
Andreas Kemnade (2):
      iio:adc:twl6030: Enable measurements of VUSB, VBAT and others
      iio:adc:twl6030: Enable measurement of VAC

Carlos Song (9):
      iio: imu: fxos8700: fix map label of channel type to MAGN sensor
      iio: imu: fxos8700: fix swapped ACCEL and MAGN channels readback
      iio: imu: fxos8700: fix incomplete ACCEL and MAGN channels readback
      iio: imu: fxos8700: fix IMU data bits returned to user space
      iio: imu: fxos8700: fix ACCEL measurement range selection
      iio: imu: fxos8700: fix incorrect ODR mode readback
      iio: imu: fxos8700: fix failed initialization ODR mode assignment
      iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN
      iio: imu: fxos8700: fix MAGN sensor scale and unit

Dmitry Perchanov (2):
      iio: hid: fix the retval in accel_3d_capture_sample
      iio: hid: fix the retval in gyro_3d_capture_sample

Frank Li (1):
      iio: imx8qxp-adc: fix irq flood when call imx8qxp_adc_read_raw()

Kai-Heng Feng (1):
      iio: light: cm32181: Fix PM support on system with 2 I2C resources

Marco Pagani (1):
      iio: adc: xilinx-ams: fix devm_krealloc() return value check

Olivier Moysan (1):
      iio: adc: stm32-dfsdm: fill module aliases

Vladimir Oltean (1):
      iio: imu: st_lsm6dsx: fix build when CONFIG_IIO_TRIGGERED_BUFFER=m

Xiongfeng Wang (1):
      iio: adc: berlin2-adc: Add missing of_node_put() in error path

 drivers/iio/accel/hid-sensor-accel-3d.c |   1 +
 drivers/iio/adc/berlin2-adc.c           |   4 +-
 drivers/iio/adc/imx8qxp-adc.c           |  11 +++-
 drivers/iio/adc/stm32-dfsdm-adc.c       |   1 +
 drivers/iio/adc/twl6030-gpadc.c         |  32 +++++++++
 drivers/iio/adc/xilinx-ams.c            |   2 +-
 drivers/iio/gyro/hid-sensor-gyro-3d.c   |   1 +
 drivers/iio/imu/fxos8700_core.c         | 111 +++++++++++++++++++++++++-------
 drivers/iio/imu/st_lsm6dsx/Kconfig      |   1 +
 drivers/iio/light/cm32181.c             |   9 +--
 10 files changed, 143 insertions(+), 30 deletions(-)

Comments

Greg KH Jan. 31, 2023, 9:52 a.m. UTC | #1
On Mon, Jan 23, 2023 at 07:47:38PM +0000, Jonathan Cameron wrote:
> The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:
> 
>   Linux 6.2-rc1 (2022-12-25 13:41:39 -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.2a

Sorry for the delay, now pulled and pushed out.

greg k-h