diff options
author | Thomas Betker <thomas.betker@rohde-schwarz.com> | 2015-04-15 21:11:50 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-04-19 13:49:54 +0100 |
commit | 97ffae1d30c3f6ceee67d5b0d3e540c08c13c744 (patch) | |
tree | 43e5f8d6be608c740b89a2a7c4745e22059231c5 /Kbuild | |
parent | 00db4e52f4541965f7fda225eb458a75f892017b (diff) | |
download | op-kernel-dev-97ffae1d30c3f6ceee67d5b0d3e540c08c13c744.zip op-kernel-dev-97ffae1d30c3f6ceee67d5b0d3e540c08c13c744.tar.gz |
iio: adc: xilinx: Fix VREFN sign
The VREFN channel is bipolar, not unipolar. Small negative values do
occur (e.g., -1mV), and unsigned conversion maps them incorrectly to
large positive values (about +1V), so fix this.
Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions