+41
−36
Loading
This patch fixes the scales for the gyroscope, accelerometer and barometer. The pressure scale was just wrong. For the others, the scale factors were not taking into account that a 32bit word is being read from the device. Fixes: 7abad106 ("iio: adis16480: Fix scale factors") Fixes: 82e7a1b2 ("iio: imu: adis16480: Add support for ADIS1649x family of devices") Signed-off-by:Nuno Sá <nuno.sa@analog.com> Cc: <Stable@vger.kernel.org> Signed-off-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com>