WSL2-Linux-Kernel/drivers/iio/imu
Lorenzo Bianconi ea85bf9064 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: 290a6ce11d ("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>
2022-02-07 20:45:49 +00:00
..
bmi160 iio: Drop Duplicated "mount-matrix" parameter 2021-06-03 18:24:13 +01:00
inv_icm42600 iio:imu:inv_icm42600: Suppress clang W=1 warning about pointer to enum conversion. 2021-12-21 15:10:09 +00:00
inv_mpu6050 iio:imu:inv_mpu6050: Suppress clang W=1 warning about pointer to enum conversion. 2021-12-21 15:10:09 +00:00
st_lsm6dsx iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot 2022-02-07 20:45:49 +00:00
st_lsm9ds0 iio: st_lsm9ds0: Make use of the helper function dev_err_probe() 2021-10-19 08:30:44 +01:00
Kconfig iio: st_sensors: Add lsm9ds0 IMU support 2021-05-17 13:54:22 +01:00
Makefile iio: st_sensors: Add lsm9ds0 IMU support 2021-05-17 13:54:22 +01:00
adis.c iio: adis: handle devices that cannot unmask the drdy pin 2021-10-19 08:27:34 +01:00
adis16400.c iio: imu: adis16400: Fix buffer alignment requirements. 2021-10-19 08:29:22 +01:00
adis16460.c iio: adis16460: make use of the new unmasked_drdy flag 2021-10-19 08:27:34 +01:00
adis16475.c First set of IIO new device and feature support for the 5.16 cycle 2021-10-19 11:44:28 +02:00
adis16480.c iio:imu:adis16480: fix buffering for devices with no burst mode 2022-01-23 18:23:48 +00:00
adis_buffer.c iio: adis: add burst_max_speed_hz variable 2021-05-17 13:49:09 +01:00
adis_trigger.c iio: adis: handle devices that cannot unmask the drdy pin 2021-10-19 08:27:34 +01:00
fxos8700.h iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_core.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
fxos8700_i2c.c iio: imu: fxos8700: Drop unneeded explicit castings 2021-03-25 19:13:50 +00:00
fxos8700_spi.c iio: imu: fxos8700: Drop unneeded explicit castings 2021-03-25 19:13:50 +00:00
kmx61.c iio: Fix error handling for PM 2022-01-30 14:50:34 +00:00