commit | e44ec7794d88f918805d700240211a9ec05ed89d | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Fri Apr 03 15:27:13 2020 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Apr 19 17:50:01 2020 +0100 |
tree | 96ad7bc4e0ea500beaa638fc02a5a89e9f6e6944 | |
parent | dd6230ba1d6b413f1a60301dbd554b90870aabc6 [diff] |
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>