diff options
author | 2023-05-09 15:22:02 +0000 | |
---|---|---|
committer | 2023-05-20 17:33:14 +0100 | |
commit | bbaae0c79ebd49f61ad942a8bf9e12bfc7f821bb (patch) | |
tree | 1829647ae5ac6ebd9ff07e61f6a146471ee44047 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: adc: ad_sigma_delta: Fix IRQ issue by setting IRQ_DISABLE_UNLAZY flag (diff) | |
download | linux-rng-bbaae0c79ebd49f61ad942a8bf9e12bfc7f821bb.tar.xz linux-rng-bbaae0c79ebd49f61ad942a8bf9e12bfc7f821bb.zip |
iio: imu: inv_icm42600: fix timestamp reset
Timestamp reset is not done in the correct place. It must be done
before enabling buffer. The reason is that interrupt timestamping
is always happening when the chip is on, even if the
corresponding sensor is off. When the sensor restarts, timestamp
is wrong if you don't do a reset first.
Fixes: ec74ae9fd37c ("iio: imu: inv_icm42600: add accurate timestamping")
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20230509152202.245444-1-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions