original_kernel/include/linux/iio
Jean-Baptiste Maneyrol bf8367b00c iio: invensense: fix timestamp glitches when switching frequency
When a sensor is running and there is a FIFO frequency change due to
another sensor turned on/off, there are glitches on timestamp. Fix that
by using only interrupt timestamp when there is the corresponding sensor
data in the FIFO.

Delete FIFO period handling and simplify internal functions.

Update integration inside inv_mpu6050 and inv_icm42600 drivers.

Fixes: 0ecc363cce ("iio: make invensense timestamp module generic")
Cc: Stable@vger.kernel.org
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20240426094835.138389-1-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-05-03 11:48:56 +01:00
..
accel
adc
afe
common iio: invensense: fix timestamp glitches when switching frequency 2024-05-03 11:48:56 +01:00
dac dt-bindings:iio:dac: update microchip,mcp4725.yaml reference 2021-04-07 08:36:38 +01:00
frequency
gyro
imu
timer
backend.h iio: backend: add API for interface tuning 2024-04-29 20:53:26 +01:00
buffer-dma.h iio: buffer-dma: Enable buffer write support 2024-04-20 15:36:41 +01:00
buffer-dmaengine.h iio: buffer-dmaengine: Support specifying buffer direction 2024-04-20 15:41:14 +01:00
buffer.h
buffer_impl.h
configfs.h
consumer.h
driver.h
events.h
hw-consumer.h
iio-gts-helper.h iio: fix doc for iio_gts_find_sel_by_int_time 2023-05-13 17:54:57 +01:00
iio-opaque.h iio: core: move 'mlock' to 'struct iio_dev_opaque' 2022-11-23 19:44:00 +00:00
iio.h iio: core: Add iio_read_acpi_mount_matrix() helper function 2024-04-29 20:53:25 +01:00
kfifo_buf.h
machine.h
sw_device.h
sw_trigger.h iio: Remove unused declarations 2023-09-12 10:42:03 +01:00
sysfs.h
trigger.h iio: trigger: Add simple trigger_validation helper 2023-05-23 21:20:17 +01:00
trigger_consumer.h
triggered_buffer.h iio: Don't silently expect attribute types 2022-11-23 19:44:04 +00:00
triggered_event.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
types.h