aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
diff options
context:
space:
mode:
authorAndreas Klinger <ak@it-klinger.de>2019-10-06 16:29:56 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-10-12 14:31:09 +0100
commit431f7667bd6889a274913162dfd19cce9d84848e (patch)
treea3b6d2b7a6d80cd9de71b9a6e5271ff069f521af /drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
parentiio: imu: adis16480: make sure provided frequency is positive (diff)
downloadwireguard-linux-431f7667bd6889a274913162dfd19cce9d84848e.tar.xz
wireguard-linux-431f7667bd6889a274913162dfd19cce9d84848e.zip
iio: srf04: fix wrong limitation in distance measuring
The measured time value in the driver is limited to the maximum distance which can be read by the sensor. This limitation was wrong and is fixed by this patch. It also takes into account that we are supporting a variety of sensors today and that the recently added sensors have a higher maximum distance range. Changes in v2: - Added a Tested-by Suggested-by: Zbyněk Kocur <zbynek.kocur@fel.cvut.cz> Tested-by: Zbyněk Kocur <zbynek.kocur@fel.cvut.cz> Signed-off-by: Andreas Klinger <ak@it-klinger.de> Cc:<Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu/inv_mpu6050/inv_mpu_core.c')
0 files changed, 0 insertions, 0 deletions