diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-26 13:29:25 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-08-15 22:30:00 +0100 |
commit | 104827ec920d73db1c0176536f02ba5272c4b8fb (patch) | |
tree | 2b7288da417cf0a723894e1e3082949cebdc5e67 /.clang-format | |
parent | ebf30bed140d1da42331ce2e90125fb5e3cc5191 (diff) |
staging: iio: cdc: ad7746: Push handling of supply voltage scale to userspace.
The supply voltage is attenuated by 6 before being fed to the ADC.
Handle this explicitly rather than pre-multiplying the _raw value by 6.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220626122938.582107-5-jic23@kernel.org
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions