WSL2-Linux-Kernel/drivers/iio/imu/inv_mpu6050
Jean-Baptiste Maneyrol 6e82ae6b8d iio: imu: inv_mpu6050: fix no data on MPU6050
Some chips have a fifo overflow bit issue where the bit is always
set. The result is that every data is dropped.

Change fifo overflow management by checking fifo count against
a maximum value.

Add fifo size in chip hardware set of values.

Fixes: f5057e7b2d ("iio: imu: inv_mpu6050: better fifo overflow handling")
Cc: stable@vger.kernel.org
Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-10-22 12:42:54 +01:00
..
Kconfig iio: imu: inv_mpu6050: be more explicit on supported chips 2019-08-05 17:30:34 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
inv_mpu_acpi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
inv_mpu_core.c iio: imu: inv_mpu6050: fix no data on MPU6050 2019-10-22 12:42:54 +01:00
inv_mpu_i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
inv_mpu_iio.h iio: imu: inv_mpu6050: fix no data on MPU6050 2019-10-22 12:42:54 +01:00
inv_mpu_ring.c iio: imu: inv_mpu6050: fix no data on MPU6050 2019-10-22 12:42:54 +01:00
inv_mpu_spi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
inv_mpu_trigger.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00