linux_dsm_epyc7002/drivers/iio/imu
Lorenzo Bianconi 7762902c89 iio: imu: st_lsm6dsx: fix read misalignment on untagged FIFO
st_lsm6dsx suffers of a read misalignment on untagged FIFO when
all 3 supported sensors (accel, gyro and ext device) are running
at different ODRs (the use-case is reported in the LSM6DSM Application
Note at pag 100).
Fix the issue taking into account decimation factor reading the FIFO
pattern.

Fixes: e485e2a2cf ("iio: imu: st_lsm6dsx: enable sensor-hub support for lsm6dsm")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-03-28 16:35:02 +00:00
..
bmi160 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
inv_mpu6050 iio: imu: inv_mpu6050: temperature only work with accel/gyro 2020-03-08 17:28:40 +00:00
st_lsm6dsx iio: imu: st_lsm6dsx: fix read misalignment on untagged FIFO 2020-03-28 16:35:02 +00:00
adis16400.c iio: imu: adis: Add self_test_reg variable 2020-03-08 17:28:30 +00:00
adis16460.c iio: adis16460: Make use of __adis_initial_startup 2020-03-08 17:28:31 +00:00
adis16480.c iio: adis16480: Make use of __adis_initial_startup 2020-03-08 17:28:31 +00:00
adis_buffer.c iio: imu: adis_buffer: Use new structure for SPI transfer delays 2020-03-08 17:28:45 +00:00
adis_trigger.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 149 2019-05-30 11:25:18 -07:00
adis.c iio: imu: adis: add support product ID check in adis_initial_startup 2020-03-08 17:28:31 +00: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
fxos8700.h 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