diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-10-15 10:35:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-10-19 16:23:31 +0100 |
commit | d5304b771203b62430776f3fca4823670282cbe4 (patch) | |
tree | d99b22bab082f38460c85c4193c64c2a25b59da4 /block/noop-iosched.c | |
parent | 9cc19b81d7363f630593ad7ceab9fa12a105fc25 (diff) | |
download | talos-obmc-linux-d5304b771203b62430776f3fca4823670282cbe4.tar.gz talos-obmc-linux-d5304b771203b62430776f3fca4823670282cbe4.zip |
staging:iio: Fix adis16209 channel offsets and scales
Most of the channel offsets and scales in the adis16209 are incorrect:
* Temperature scale is of by a factor of 1000
* Voltage scale is of by a factor of 1000
* Temperature offset is completely wrong
* Rotational position scale is missing
This patch fixes these issues. Also use the IIO_G_TO_M_S_2 macro for the
acceleration scale since this makes it much easier to compare it with the value
given in the datasheet.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions