linux-stable/drivers/iio/imu
Lorenzo Bianconi 5685b145c1 iio: imu: st_lsm6dsx: fix decimation factor estimation
Fix decimation factor and sip estimation for LSM6DSM series
(max value for decimation factor is 32).
If gyro and accel sensors are enabled at 12.5Hz and 416Hz
respectively, decimation factor lookup will fail, producing
unaligned data.
Remove unused decimator filed in st_lsm6dsx_sensor structure.

Fixes: f8710f0357 ("iio: imu: st_lsm6dsx: express odr in mHZ")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-12-08 18:10:30 +00:00
..
bmi160
inv_mpu6050 iio: imu: inv_mpu6050: fix temperature reporting using bad unit 2019-12-08 18:10:30 +00:00
st_lsm6dsx iio: imu: st_lsm6dsx: fix decimation factor estimation 2019-12-08 18:10:30 +00:00
adis.c iio: imu: adis: assign read val in debugfs hook only if op successful 2019-11-03 10:44:29 +00:00
adis16400.c iio: imu: adis16400: check ret val for non-zero vs less-than-zero 2019-11-03 10:16:54 +00:00
adis16460.c iio: imu: adis16460: check ret val for non-zero vs less-than-zero 2019-11-03 10:22:39 +00:00
adis16480.c Third set of IIO new device support cleanups and fixes for the 5.5 cycle. 2019-11-13 19:24:42 +08:00
adis_buffer.c iio: imu: adis16400: fix memory leak 2019-10-09 19:11:27 +01:00
adis_trigger.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 149 2019-05-30 11:25:18 -07:00
fxos8700.h iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_core.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_i2c.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_spi.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
Kconfig iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
kmx61.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 330 2019-06-05 17:37:06 +02:00
Makefile iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00