diff options
| author | Thomas Betker <thomas.betker@rohde-schwarz.com> | 2015-04-15 21:11:50 +0200 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2015-05-28 09:59:57 +0100 |
| commit | 784414120d345df93a3fc3989a23a45f9ec84dad (patch) | |
| tree | cd26ceeec0237d1124052cc8f00de1ecf4274425 /include/linux/libata.h | |
| parent | f2f6a172b863e03292903db48927822cf2d5f717 (diff) | |
iio: adc: xilinx: Fix VREFN sign
commit 97ffae1d30c3f6ceee67d5b0d3e540c08c13c744 upstream.
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>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions
