linux_dsm_epyc7002/drivers/iio/dac
Lars-Peter Clausen 5b136903db iio: ad5504: Fix setting power-down state
commit efd597b2839a9895e8a98fcb0b76d2f545802cd4 upstream.

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: 3bbbf150ff ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-27 11:55:12 +01:00
..
ad5064.c iio: dac: ad5064: Fix a few kerneldoc misdemeanours 2020-09-21 18:41:36 +01:00
ad5360.c
ad5380.c
ad5421.c
ad5446.c iio:dac:ad5446: Drop of_match_ptr and CONFIG_OF protections 2020-09-21 18:41:27 +01:00
ad5449.c
ad5504.c iio: ad5504: Fix setting power-down state 2021-01-27 11:55:12 +01:00
ad5592r-base.c Second set of features and cleanups for IIO in 5.10 2020-09-22 09:45:11 +02:00
ad5592r-base.h
ad5592r.c iio:dac:ad5592r: Drop of_match_ptr and ACPI_PTR protections. 2020-09-21 18:41:27 +01:00
ad5593r.c iio:dac:ad5593r: Drop of_match_ptr and ACPI_PTR protections. 2020-09-21 18:41:27 +01:00
ad5624r_spi.c
ad5624r.h
ad5686-spi.c
ad5686.c iio: dac: ad5686: Constify static struct iio_chan_spec 2020-09-03 19:40:47 +01:00
ad5686.h iio: dac: ad5686: Constify static struct iio_chan_spec 2020-09-03 19:40:47 +01:00
ad5696-i2c.c
ad5755.c
ad5758.c iio: dac: ad5758: Move and fix-up kerneldoc header and demote unworthy kerneldoc 2020-07-20 09:03:03 +01:00
ad5761.c iio: dac: ad5761: Fix kerneldoc attribute formatting for 'lock' 2020-07-20 09:03:04 +01:00
ad5764.c iio: dac: ad5764: Fix misdocumenting and formatting error 2020-07-20 09:03:06 +01:00
ad5770r.c
ad5791.c iio: dac: ad5791: Complete 'struct ad5791_chip_info' documentation 2020-07-20 09:03:06 +01:00
ad7303.c iio: dac: ad7303: Complete 'struct ad7303_state' doc 2020-09-21 18:41:36 +01:00
ad8801.c
cio-dac.c
dpot-dac.c Merge 5.9-rc5 into staging-next 2020-09-14 06:57:52 +02:00
ds4424.c
Kconfig
lpc18xx_dac.c
ltc1660.c
ltc2632.c iio: dac: ltc2632: Fix formatting in kerneldoc struct header 2020-07-20 09:03:16 +01:00
m62332.c
Makefile
max517.c
max5821.c
mcp4725.c iio:dac:mcp4725: drop of_match_ptr and use generic fw properties 2020-09-21 18:41:28 +01:00
mcp4922.c
stm32-dac-core.c iio: adc: stm32: Simplify with dev_err_probe() 2020-09-03 19:40:50 +01:00
stm32-dac-core.h
stm32-dac.c iio: stm32-dac: Replace indio_dev->mlock with own device lock 2020-09-16 18:51:40 +01:00
ti-dac082s085.c iio:dac:ti-dac082s085: Drop of_match_ptr and CONFIG_OF protections 2020-09-21 18:41:28 +01:00
ti-dac5571.c iio:dac:ti-dac5571: Drop of_match_ptr and CONFIG_OF protections 2020-09-21 18:41:28 +01:00
ti-dac7311.c
ti-dac7612.c iio: dac: ti-dac7612: Replace indio_dev->mlock with own device lock 2020-09-16 18:56:22 +01:00
vf610_dac.c