提交 e4ac7283 编写于 作者: L Lars-Peter Clausen 提交者: Jonathan Cameron

staging:iio:ad7793: Fix temperature scale

The temperature scale was off by a factor of 1000.
Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 24b27fa1
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册