commit | ffc9648a52c4cfae3eaadf629d79a0356f3f5900 | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> | Wed Feb 19 15:39:54 2020 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Mar 08 17:28:38 2020 +0000 |
tree | 862139c89b94bdf05792ba68e3d2d6e54b042e1f | |
parent | 92e7407ab1bc5024eb467d5788aace0ceff78a9d [diff] |
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>