]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
staging:iio: Fix adis16220 channel offsets and scales
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 15 Oct 2012 09:35:00 +0000 (10:35 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 19 Oct 2012 15:23:32 +0000 (16:23 +0100)
commit45240340568a799fa140645af2a45600dfe68694
tree08de2dd6fcaf87d6eb7c60a2b2352e22326af065
parentd5304b771203b62430776f3fca4823670282cbe4
staging:iio: Fix adis16220 channel offsets and scales

Most of the channel offsets and scales in the adis16220 are incorrect:
* Temperature scale is off by a factor of 1000
* Voltage scale is off by a factor of 1000
* Acceleration seems to have a typo "187042" since it should be instead of
  "1887042"
* Temperature offset is completely wrong

This patch fixes these issues.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/adis16220_core.c