diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-03-13 18:54:41 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-28 16:35:02 +0000 |
commit | 7762902c89c4c78d32ec562f1ada44d02039104b (patch) | |
tree | e20465cbbf6b6301e5b773a3762f9c1f49c3c1a9 /drivers/counter | |
parent | e2042d2936dfc84e9c600fe9b9d0039ca0e54b7d (diff) |
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 'drivers/counter')
0 files changed, 0 insertions, 0 deletions