diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-11-21 17:27:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-11-30 13:57:06 +0100 |
commit | e4ac7283639bb8da69af6ff5c00e2340348a339e (patch) | |
tree | c149c9d84e91c780b32c767a6d698c632f93743a /drivers | |
parent | staging:iio:ad7793: Fix VDD monitor scale (diff) | |
download | linux-e4ac7283639bb8da69af6ff5c00e2340348a339e.tar.xz linux-e4ac7283639bb8da69af6ff5c00e2340348a339e.zip |
staging:iio:ad7793: Fix temperature scale
The temperature scale was off by a factor of 1000.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/adc/ad7793.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/ad7793.c b/drivers/staging/iio/adc/ad7793.c index ba35562619f9..bd1358e51ec0 100644 --- a/drivers/staging/iio/adc/ad7793.c +++ b/drivers/staging/iio/adc/ad7793.c @@ -297,7 +297,7 @@ static int ad7793_read_raw(struct iio_dev *indio_dev, break; case IIO_TEMP: /* 1170mV / 0.81 mV/C / 2^23 */ - scale_uv = 1444444444444ULL; + scale_uv = 1444444444444444ULL; break; default: return -EINVAL; |