summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro
diff options
context:
space:
mode:
authorThomas Betker <thomas.betker@rohde-schwarz.com>2015-04-15 21:11:50 +0200
committerJonathan Cameron <jic23@kernel.org>2015-04-19 13:49:54 +0100
commit97ffae1d30c3f6ceee67d5b0d3e540c08c13c744 (patch)
tree43e5f8d6be608c740b89a2a7c4745e22059231c5 /drivers/iio/gyro
parent00db4e52f4541965f7fda225eb458a75f892017b (diff)
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 'drivers/iio/gyro')
0 files changed, 0 insertions, 0 deletions