diff options
author | 2022-02-05 22:57:42 +0100 | |
---|---|---|
committer | 2022-02-07 20:45:49 +0000 | |
commit | ea85bf906466191b58532bb19f4fbb4591f0a77e (patch) | |
tree | ea6de5863a45d3716465aee78cc38140eb90c320 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | iio: Fix error handling for PM (diff) | |
download | wireguard-linux-ea85bf906466191b58532bb19f4fbb4591f0a77e.tar.xz wireguard-linux-ea85bf906466191b58532bb19f4fbb4591f0a77e.zip |
iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot
We need to wait for sensor settling time (~ 3/ODR) before reading data
in st_lsm6dsx_read_oneshot routine in order to avoid corrupted samples.
Fixes: 290a6ce11d93 ("iio: imu: add support to lsm6dsx driver")
Reported-by: Mario Tesi <mario.tesi@st.com>
Tested-by: Mario Tesi <mario.tesi@st.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/b41ebda5535895298716c76d939f9f165fcd2d13.1644098120.git.lorenzo@kernel.org
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions