linux-stable/drivers/iio/imu
Jean-Baptiste Maneyrol 60b9d1887a iio: imu: inv_mpu6050: fix FIFO parsing when empty
commit 60caa8b33b upstream.

Now that we are reading the full FIFO in the interrupt handler,
it is possible to have an emply FIFO since we are still receiving
1 interrupt per data. Handle correctly this case instead of having
an error causing a reset of the FIFO.

Fixes: 0829edc43e ("iio: imu: inv_mpu6050: read the full fifo when processing data")
Cc: stable@vger.kernel.org
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20240219154825.90656-1-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-03 15:28:45 +02:00
..
bmi160 iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
bno055 iio: imu: bno055: serdev requires REGMAP 2024-02-23 09:25:07 +01:00
inv_icm42600 iio: make invensense timestamp module generic 2023-07-20 19:21:28 +01:00
inv_mpu6050 iio: imu: inv_mpu6050: fix FIFO parsing when empty 2024-04-03 15:28:45 +02: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
adis.c iio: adis: add '__adis_enable_irq()' implementation 2022-11-23 20:37:50 +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() 2024-01-10 17:16:57 +01: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 iio: imu: fxos8700: Drop unneeded explicit castings 2021-03-25 19:13:50 +00:00
Kconfig iio: adis16480: select CONFIG_CRC32 2023-02-02 17:01:37 +00:00
kmx61.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
Makefile iio: imu: add Bosch Sensortec BNO055 core driver 2022-09-21 18:42:56 +01:00