Skip to contentSkip to conversation

Patch "iio: imu: adis16480: Fix acceleration scale factor for adis16480" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Aug 28, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

iio: imu: adis16480: Fix acceleration scale factor for adis16480

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:

     iio-imu-adis16480-fix-acceleration-scale-factor-for-adis16480.patch

and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From fdd0d32eb95f135041236a6885d9006315aa9a1d Mon Sep 17 00:00:00 2001

From: Dragos Bogdan <[email protected]>
Date: Fri, 4 Aug 2017 01:37:27 +0300
Subject: iio: imu: adis16480: Fix acceleration scale factor for adis16480

From: Dragos Bogdan <[email protected]>

commit fdd0d32eb95f135041236a6885d9006315aa9a1d upstream.

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

---
 drivers/iio/imu/adis16480.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/imu/adis16480.c +1 -1
@@ -696,7 +696,7 @@ static const struct adis16480_chip_info
 		.gyro_max_val = IIO_RAD_TO_DEGREE(22500),
 		.gyro_max_scale = 450,
 		.accel_max_val = IIO_M_S_2_TO_G(12500),
-		.accel_max_scale = 5,
+		.accel_max_scale = 10,
 	},
 	[ADIS16485] = {
 		.channels = adis16485_channels,

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/iio-imu-adis16480-fix-acceleration-scale-factor-for-adis16480.patch