commit | 2a9e0662f6779d2074ecaa80ea5753d5f0cf1b93 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Fri Aug 10 17:36:00 2012 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Thu Aug 16 20:24:34 2012 +0100 |
tree | 616e32f056310a660430609eab899a95cbeacb6a | |
parent | 680f8ea0e85c5c3a7283be99435d6461e8725348 [diff] |
staging:iio:ad7793: Fix temperature scale and offset The temperature channel uses the internal 1.17V reference with 0.81 mv/C. The reported temperature is in Kevlin, so we need to add the Kelvin to Celcius offset when reporting the offset for the temperature channel. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>