diff options
author | Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com> | 2024-11-13 21:25:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-23 17:17:15 +0100 |
commit | d3e25180ba20d26bbfc786ad39112b666e4d2b9a (patch) | |
tree | 4b9d6a418a8df753b8e40e0c1a707a72c0419072 /drivers/iio/adc | |
parent | f2e4823baad1a33b5bbb90a5912c6e3240136d7e (diff) | |
download | linux-d3e25180ba20d26bbfc786ad39112b666e4d2b9a.tar.gz linux-d3e25180ba20d26bbfc786ad39112b666e4d2b9a.tar.bz2 linux-d3e25180ba20d26bbfc786ad39112b666e4d2b9a.zip |
iio: imu: inv_icm42600: fix timestamps after suspend if sensor is on
commit 65a60a590142c54a3f3be11ff162db2d5b0e1e06 upstream.
Currently suspending while sensors are one will result in timestamping
continuing without gap at resume. It can work with monotonic clock but
not with other clocks. Fix that by resetting timestamping.
Fixes: ec74ae9fd37c ("iio: imu: inv_icm42600: add accurate timestamping")
Cc: stable@vger.kernel.org
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://patch.msgid.link/20241113-inv_icm42600-fix-timestamps-after-suspend-v1-1-dfc77c394173@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/adc')
0 files changed, 0 insertions, 0 deletions