iio: imu: adis16480: Fix acceleration scale factor for adis16480
authorDragos Bogdan <dragos.bogdan@analog.com>
Thu, 3 Aug 2017 22:37:27 +0000 (01:37 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 20 Aug 2017 14:21:47 +0000 (15:21 +0100)
commitfdd0d32eb95f135041236a6885d9006315aa9a1d
treea2ed3ad132341da37dfc0ea868ac99346f10b063
parentf00fd7ae4f409abb7b2e5d099248832548199f0c
iio: imu: adis16480: Fix acceleration scale factor for adis16480

According to the datasheet, the range of the acceleration is [-10 g, + 10 g],
so the scale factor should be 10 instead of 5.

Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis16480.c