summaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2020-12-09 11:46:49 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-01-14 20:56:56 +0000
commitefd597b2839a9895e8a98fcb0b76d2f545802cd4 (patch)
treea4d6b777df9d779958b578c09c4ba7eb439c44f6 /drivers/target
parent49a9565a7a7ce168e3e6482fb24e62d12f72ab81 (diff)
iio: ad5504: Fix setting power-down state
The power-down mask of the ad5504 is actually a power-up mask. Meaning if a bit is set the corresponding channel is powered up and if it is not set the channel is powered down. The driver currently has this the wrong way around, resulting in the channel being powered up when requested to be powered down and vice versa. Fixes: 3bbbf150ffde ("staging:iio:dac:ad5504: Use strtobool for boolean values") Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20201209104649.5794-1-lars@metafoo.de Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions