linux-stable/drivers/iio/dac
Michael Hennerich 28e1f974e3 iio: dac: ad5446: Fix read_raw not returning set value
commit 89a01cd688 upstream.

read_raw should return the un-scaled value.

Fixes: 5e06bdfb46 ("staging:iio:dac:ad5446: Return cached value for 'raw' attribute")
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220406105620.1171340-1-michael.hennerich@analog.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-09 09:14:28 +02:00
..
ad5064.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5360.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5380.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5421.c
ad5446.c iio: dac: ad5446: Fix read_raw not returning set value 2022-05-09 09:14:28 +02:00
ad5449.c
ad5504.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5592r-base.c iio: dac: ad5592r: Fix the missing return value. 2022-05-09 09:14:28 +02:00
ad5592r-base.h
ad5592r.c
ad5593r.c
ad5624r.h
ad5624r_spi.c iio: dac: ad5624r: Fix incorrect handling of an optional regulator. 2021-07-19 09:51:58 +01:00
ad5686-spi.c
ad5686.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5686.h
ad5696-i2c.c
ad5755.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5758.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5761.c
ad5764.c
ad5766.c drivers: iio: dac: ad5766: Fix dt property name 2021-11-18 19:16:07 +01:00
ad5770r.c iio: ad5770r: make devicetree property reading consistent 2021-11-18 19:16:07 +01:00
ad5791.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad7303.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad8801.c
cio-dac.c
dpot-dac.c
ds4424.c
Kconfig
lpc18xx_dac.c
ltc1660.c
ltc2632.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
m62332.c
Makefile
max517.c iio:dac:max517.c: Use devm_iio_device_register() 2021-03-25 19:13:52 +00:00
max5821.c iio: dac: max5821: convert device register to device managed function 2021-07-31 18:17:22 +01:00
mcp4725.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
mcp4922.c
stm32-dac-core.c
stm32-dac-core.h
stm32-dac.c iio: dac: stm32-dac: Use pm_runtime_resume_and_get() to replace open coding. 2021-05-17 13:54:26 +01:00
ti-dac082s085.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ti-dac5571.c iio: dac: ti-dac5571: fix an error code in probe() 2021-09-14 12:02:08 +01:00
ti-dac7311.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ti-dac7612.c
vf610_dac.c