diff options
| author | Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> | 2020-02-19 15:39:54 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-08 17:28:38 +0000 |
| commit | ffc9648a52c4cfae3eaadf629d79a0356f3f5900 (patch) | |
| tree | 862139c89b94bdf05792ba68e3d2d6e54b042e1f /tools/perf/scripts/python | |
| parent | iio: imu: inv_mpu6050: rewrite power and engine management (diff) | |
| download | linux-ffc9648a52c4cfae3eaadf629d79a0356f3f5900.tar.gz linux-ffc9648a52c4cfae3eaadf629d79a0356f3f5900.zip | |
iio: imu: inv_mpu6050: fix data polling interface
When reading data with the polling interface, we need to wait
at 1 sampling period to have a sample.
For gyroscope and magnetometer, we need to wait for 2 periods
before having a correct sample.
Not suitable for stable or backporting.
Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
