linux/drivers/iio/imu/inv_mpu6050
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
..
inv_mpu_acpi.c iio: imu: inv_mpu6050: move from strlcpy with unused retval to strscpy 2022-08-19 18:23:48 +01:00
inv_mpu_aux.c iio: imu: mpu6050: add level shifter flag 2023-10-05 14:44:06 +01:00
inv_mpu_aux.h iio: imu: inv_mpu6050: helpers for using i2c master on auxiliary bus 2019-10-05 12:06:16 +01:00
inv_mpu_core.c Char/Misc and other Driver changes for 6.8-rc1 2024-01-17 16:47:17 -08:00
inv_mpu_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
inv_mpu_iio.h iio: imu: mpu6050: add level shifter flag 2023-10-05 14:44:06 +01:00
inv_mpu_magn.c drivers/iio: Remove all strcpy() uses 2021-09-14 12:00:30 +01:00
inv_mpu_magn.h iio: imu: inv_mpu6050: fix data polling interface 2020-03-08 17:28:38 +00:00
inv_mpu_ring.c iio: imu: inv_mpu6050: fix FIFO parsing when empty 2024-02-24 16:25:24 +00:00
inv_mpu_spi.c iio: imu: mpu6050: Add support for the ICM 20600 IMU 2023-05-13 18:57:36 +01:00
inv_mpu_trigger.c iio: imu: inv_mpu6050: fix frequency setting when chip is off 2024-02-25 11:42:12 +00:00
Kconfig iio: imu: inv_mpu6050: use the common inv_sensors timestamp module 2023-07-20 19:21:29 +01:00
Makefile iio: imu: inv_mpu6050: add MPU925x magnetometer support 2019-10-05 12:14:20 +01:00