]> git.baikalelectronics.ru Git - kernel.git/commit
staging:iio: Fix adis16203 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:13:15 +0000 (16:13 +0100)
commita9b3b5eabe868cc49e76e3a629fc49b6845b8afb
tree2b411cd1837d78743a5ffb4dc94a73afea4d350a
parentb3848dea9c6397fa20f0114bcfa54e1c320e8dd6
staging:iio: Fix adis16203 channel offsets and scales

Most of the channel offsets and scales in the adis16203 are incorrect:
* Temperature scale is off by a factor of 1000
* Voltage scale is off by a factor of 1000
* 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/adis16203_core.c