diff options
| author | 2020-04-03 15:27:13 +0200 | |
|---|---|---|
| committer | 2020-04-19 17:50:01 +0100 | |
| commit | e44ec7794d88f918805d700240211a9ec05ed89d (patch) | |
| tree | 96ad7bc4e0ea500beaa638fc02a5a89e9f6e6944 /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | iio: dac: ad5770r: fix off-by-one check on maximum number of channels (diff) | |
| download | linux-dev-e44ec7794d88f918805d700240211a9ec05ed89d.tar.xz linux-dev-e44ec7794d88f918805d700240211a9ec05ed89d.zip | |
iio: xilinx-xadc: Fix ADC-B powerdown
The check for shutting down the second ADC is inverted. This causes it to
be powered down when it should be enabled. As a result channels that are
supposed to be handled by the second ADC return invalid conversion results.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Fixes: bdc8cda1d010 ("iio:adc: Add Xilinx XADC driver")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
