linux/drivers/iio/imu/inv_mpu6050
Jean-Baptiste Maneyrol 0829edc43e iio: imu: inv_mpu6050: read the full fifo when processing data
When processing data read the full fifo data in 1 time. If there
are several samples in the FIFO, it means we are experiencing
system delay. In this case, it is better to read all data with 1
bus access than to add additional latency by doing several ones.

This requires to use a bigger buffer depending on chip FIFO size
and do an additional local data copy before sending. But the cost
is minimal and behavior is still better like this under system
heavy load.

Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20230623082924.283967-1-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-07-20 19:21:30 +01: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: inv_mpu6050: helpers for using i2c master on auxiliary bus 2019-10-05 12:06:16 +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 iio: imu: inv_mpu6050: read the full fifo when processing data 2023-07-20 19:21:30 +01: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: inv_mpu6050: read the full fifo when processing data 2023-07-20 19:21:30 +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: read the full fifo when processing data 2023-07-20 19:21:30 +01: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: use the common inv_sensors timestamp module 2023-07-20 19:21:29 +01: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