linux-stable/drivers/iio/imu
Jean-Baptiste Maneyrol daec424cc5 iio: imu: inv_mpu6050: fix frequency setting when chip is off
Track correctly FIFO state and apply ODR change before starting
the chip. Without the fix, you cannot change ODR more than 1 time
when data buffering is off. This restriction on a single pending ODR
change should only apply when the FIFO is on.

Fixes: 111e1abd00 ("iio: imu: inv_mpu6050: use the common inv_sensors timestamp module")
Cc: stable@vger.kernel.org
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20240219154741.90601-1-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-02-25 11:42:12 +00:00
..
bmi160 iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
bmi323 iio: imu: bmi323: Make the local structures static 2023-11-26 18:04:58 +00:00
bno055 iio: imu: bno055: serdev requires REGMAP 2024-01-22 18:59:07 +00:00
inv_icm42600 iio/imu: inv_icm42600: Use max() helper macros 2023-11-16 19:10:28 +00:00
inv_mpu6050 iio: imu: inv_mpu6050: fix frequency setting when chip is off 2024-02-25 11:42:12 +00:00
st_lsm6dsx iio: imu: lsm6dsx: Fix mount matrix retrieval 2023-07-23 13:40:45 +01:00
st_lsm9ds0 iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
Kconfig iio: imu: Add driver for BMI323 IMU 2023-11-16 19:10:25 +00:00
Makefile iio: imu: Add driver for BMI323 IMU 2023-11-16 19:10:25 +00:00
adis.c iio: imu: adis: Use spi cs inactive delay 2023-11-16 19:10:28 +00:00
adis16400.c iio: imu: Replace all spi->chip_select and spi->cs_gpiod references with function call 2023-03-11 12:34:03 +00:00
adis16460.c iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
adis16475.c iio: imu: adis16475: use bit numbers in assign_bit() 2023-11-26 16:44:15 +00:00
adis16480.c iio: imu: adis16480: Improve getting the optional clocks 2022-04-28 19:22:56 +01:00
adis_buffer.c iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
adis_trigger.c iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
fxos8700.h
fxos8700_core.c iio: imu: fxos8700: fix MAGN sensor scale and unit 2023-01-21 18:15:19 +00:00
fxos8700_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
fxos8700_spi.c
kmx61.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00