diff options
author | Jean-Baptiste Maneyrol <[email protected]> | 2024-04-26 09:48:35 +0000 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-05-03 11:48:56 +0100 |
commit | bf8367b00c33c64a9391c262bb2e11d274c9f2a4 (patch) | |
tree | 573de3f6937ed28b9c5cec06fb001536082264c1 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 0340dc4c82590d8735c58cf904a8aa1173273ab5 (diff) |
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: 0ecc363ccea7 ("iio: make invensense timestamp module generic")
Cc: [email protected]
Signed-off-by: Jean-Baptiste Maneyrol <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions