diff options
author | Lorenzo Bianconi <[email protected]> | 2022-02-05 22:57:42 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-02-07 20:45:49 +0000 |
commit | ea85bf906466191b58532bb19f4fbb4591f0a77e (patch) | |
tree | ea6de5863a45d3716465aee78cc38140eb90c320 /lib/memory-notifier-error-inject.c | |
parent | 632fe0bb8c5b9c06ec961f575ee42a6fff5eceeb (diff) |
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 <[email protected]>
Tested-by: Mario Tesi <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: https://lore.kernel.org/r/b41ebda5535895298716c76d939f9f165fcd2d13.1644098120.git.lorenzo@kernel.org
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions