summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2019-11-28 17:55:18 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-12-08 18:10:30 +0000
commit5685b145c138b2ca696076106d0fb87b7b90b14a (patch)
treefe9291b3f199955da5e0b2a265c789609ef719eb /tools/perf/scripts/python/export-to-postgresql.py
parent53eaa9c27fdc01b4f4d885223e29f97393409e7e (diff)
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: f8710f0357bc ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions