diff options
| author | 2020-03-13 18:54:41 +0100 | |
|---|---|---|
| committer | 2020-03-28 16:35:02 +0000 | |
| commit | 7762902c89c4c78d32ec562f1ada44d02039104b (patch) | |
| tree | e20465cbbf6b6301e5b773a3762f9c1f49c3c1a9 /include/linux/phy/git:/ssh: | |
| parent | iio: adc: stm32-adc: fix sleep in atomic context (diff) | |
| download | linux-dev-7762902c89c4c78d32ec562f1ada44d02039104b.tar.xz linux-dev-7762902c89c4c78d32ec562f1ada44d02039104b.zip | |
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: e485e2a2cfd6 ("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>
Diffstat (limited to 'include/linux/phy/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
