linux_dsm_epyc7002/drivers/iio/imu/st_lsm6dsx
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
..
Kconfig iio: imu: st_lsm6dsx: add support to LSM6DSRX 2019-10-27 16:38:06 +00:00
Makefile
st_lsm6dsx_buffer.c iio: imu: st_lsm6dsx: fix read misalignment on untagged FIFO 2020-03-28 16:35:02 +00:00
st_lsm6dsx_core.c Merge 5.5-rc7 into staging-next 2020-01-22 09:05:34 +01:00
st_lsm6dsx_i2c.c iio: st_lsm6dsx: Drop unneeded OF code 2019-12-29 15:20:04 +00:00
st_lsm6dsx_i3c.c
st_lsm6dsx_shub.c iio: imu: st_lsm6dsx: check return value from st_lsm6dsx_sensor_set_enable 2020-03-08 17:28:28 +00:00
st_lsm6dsx_spi.c iio: st_lsm6dsx: Drop unneeded OF code 2019-12-29 15:20:04 +00:00
st_lsm6dsx.h iio: imu: st_lsm6dsx: fix read misalignment on untagged FIFO 2020-03-28 16:35:02 +00:00