commit | d3e6ed841671de3b25776b5e91f33112e8f5bca6 | [log] [tgz] |
---|---|---|
author | David Veenstra <davidjulianveenstra@gmail.com> | Fri May 18 20:23:01 2018 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun May 20 12:07:29 2018 +0100 |
tree | 63ef8354ab2eb33c643255b142d29e9dbdc57a3e | |
parent | 2363c010ce65a68a4a9bcc27c99b7b5e1a478b8a [diff] |
staging: iio: ad2s1200: Add scaling factor for angular velocity channel The sysfs iio ABI states radians per second is expected as the unit for angular velocity, but the 12-bit angular velocity register has revolution per seconds as its unit. So a scaling factor of approximately 2 * Pi is added to the angular velocity channel. Signed-off-by: David Veenstra <davidjulianveenstra@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>