diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-07-13 13:40:19 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-07-22 14:55:43 +0100 |
commit | a1bab9396c2d98c601ce81c27567159dfbc10c19 (patch) | |
tree | 1d5c830c721e36c328d0559974bf15b45656224e /lib | |
parent | 65afb0932a81c1de719ceee0db0b276094b10ac8 (diff) | |
download | linux-a1bab9396c2d98c601ce81c27567159dfbc10c19.tar.bz2 |
iio: imu: st_lsm6dsx: reset hw ts after resume
Reset hw time samples generator after system resume in order to avoid
disalignment between system and device time reference since FIFO
batching and time samples generator are disabled during suspend.
Fixes: 213451076bd3 ("iio: imu: st_lsm6dsx: add hw timestamp support")
Tested-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions