linux/drivers/iio/dac
Nuno Sá e7e51eb037 iio: dac: ltc2688: fix voltage scale read
Properly set *val2 (and not overwrite *val) to correctly return
IIO_VAL_FRACTIONAL_LOG2.

Fixes: 832cb9eeb9 ("iio: dac: add support for ltc2688")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220412124916.61-1-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-04-16 15:00:08 +01:00
..
ad3552r.c iio:dac:ad3552r: Fix an IS_ERR() vs NULL check 2022-04-10 17:57:40 +01:00
ad5064.c iio: expose shared parameter in IIO_ENUM_AVAILABLE 2021-11-27 16:12:23 +00:00
ad5360.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ad5380.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ad5421.c iio: dac: ad5421: Fix kerneldoc attribute formatting for 'lock' 2020-07-20 09:02:54 +01:00
ad5446.c iio: dac: ad5446: Fix read_raw not returning set value 2022-04-10 17:45:24 +01:00
ad5449.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ad5504.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ad5592r-base.c iio: dac: ad5592r: Fix the missing return value. 2022-04-04 09:19:01 +01:00
ad5592r-base.h iio: dac: ad5592r: Make ad5592r_remove() return void 2021-10-19 08:30:45 +01:00
ad5592r.c Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
ad5593r.c iio:dac:ad5592r: Move exports into IIO_AD5592R namespace 2022-02-18 11:42:26 +00:00
ad5624r_spi.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ad5624r.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5686-spi.c Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
ad5686.c iio:dac:ad5686: Move exports into IIO_AD5686 namespace 2022-02-18 11:42:26 +00:00
ad5686.h iio: dac: ad5686: Make ad5686_remove() return void 2021-10-19 08:30:45 +01:00
ad5696-i2c.c iio:dac:ad5686: Move exports into IIO_AD5686 namespace 2022-02-18 11:42:26 +00:00
ad5755.c iio:dac:ad5755: Switch to generic firmware properties and drop pdata 2021-12-12 17:12:28 +00:00
ad5758.c iio:dac:ad5758: Drop unused of specific headers. 2021-12-12 17:12:34 +00:00
ad5761.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ad5764.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ad5766.c iio: expose shared parameter in IIO_ENUM_AVAILABLE 2021-11-27 16:12:23 +00:00
ad5770r.c iio: ad5770r: make devicetree property reading consistent 2021-09-14 12:00:32 +01:00
ad5791.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ad7293.c iio:dac:ad7293: add support for AD7293 2021-12-04 16:22:41 +00:00
ad7303.c iio: dac: ad7303: convert probe to full device-managed 2021-10-17 11:05:53 +01:00
ad8801.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
cio-dac.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
dpot-dac.c iio:dac:dpot-dac: Swap of.h for mod_devicetable.h 2021-12-12 17:12:39 +00:00
ds4424.c iio: dac: ds4424: Make use of the helper function dev_err_probe() 2021-10-19 08:30:43 +01:00
Kconfig iio: dac: add support for ltc2688 2022-03-01 22:13:53 +00:00
lpc18xx_dac.c iio:dac:lpc18xx_dac: Swap from of* to mod_devicetable.h 2021-12-12 17:12:43 +00:00
ltc1660.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ltc2632.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ltc2688.c iio: dac: ltc2688: fix voltage scale read 2022-04-16 15:00:08 +01:00
m62332.c iio:dac:m62332: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:46:03 +00:00
Makefile iio: dac: add support for ltc2688 2022-03-01 22:13:53 +00:00
max517.c iio:dac:max517.c: Use devm_iio_device_register() 2021-03-25 19:13:52 +00:00
max5821.c iio: expose shared parameter in IIO_ENUM_AVAILABLE 2021-11-27 16:12:23 +00:00
mcp4725.c iio:dac:mcp4725: Suppress clang W=1 warning about pointer to enum conversion. 2021-12-21 15:10:09 +00:00
mcp4922.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
stm32-dac-core.c iio:adc:stm32*: Use pm[_sleep]_ptr() etc to avoid need to make pm __maybe_unused 2022-02-21 19:33:04 +00:00
stm32-dac-core.h iio: stm32: Adopt SPDX identifier 2018-01-08 16:03:41 +01:00
stm32-dac.c iio:adc:stm32*: Use pm[_sleep]_ptr() etc to avoid need to make pm __maybe_unused 2022-02-21 19:33:04 +00:00
ti-dac082s085.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ti-dac5571.c iio: dac: dac5571: Fix chip id detection for OF devices 2022-04-04 09:19:01 +01:00
ti-dac7311.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
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 iio:dac:vf610: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:45:29 +00:00