summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2020-04-03 15:27:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-02 17:20:35 +0200
commit245fcb9945fc978c93189e971121a49480bbbe6a (patch)
tree6d1b95e6e41c09319ace4fd9b2a0a4921c589e49 /include/linux
parent6aee5c440ba798b6c99c1dc85958f4a3a89481a4 (diff)
iio: xilinx-xadc: Fix ADC-B powerdown
commit e44ec7794d88f918805d700240211a9ec05ed89d upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions