linux/drivers/iio/dac
Lars-Peter Clausen 5dcbe97bed iio: ad5064: Fix ad5629/ad5669 shift
The ad5629/ad5669 are the I2C variant of the ad5628/ad5668, which has a SPI
interface. They are mostly identical with the exception that the shift
factor is different. Currently the driver does not take care of this
difference which leads to incorrect DAC output values.

Fix this by introducing a custom channel spec for the ad5629/ad5669 with
the correct shift factor.

Fixes: commit 6a17a0768f ("iio:dac:ad5064: Add support for the ad5629r and ad5669r")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-10-25 12:30:42 +00:00
..
ad5064.c iio: ad5064: Fix ad5629/ad5669 shift 2015-10-25 12:30:42 +00:00
ad5360.c iio:dac:ad5360 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 20:57:31 +00:00
ad5380.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
ad5421.c iio:dac:ad5421 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 20:59:39 +00:00
ad5446.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
ad5449.c iio:dac:ad5449 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 21:00:46 +00:00
ad5504.c iio: ad5504: Remove redundant variable 2014-07-03 21:58:26 +01:00
ad5624r_spi.c iio: DAC: ad5624r_spi: fix bit shift of output data value 2015-06-21 14:03:28 +01:00
ad5624r.h
ad5686.c iio: ad5686: fix optional reference voltage declaration 2015-02-04 16:54:38 +00:00
ad5755.c iio:dac:ad5755 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 21:04:47 +00:00
ad5764.c iio:dac:ad5764 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 21:05:53 +00:00
ad5791.c iio:adc:ad5791: Use BIT() and GENMASK() macros 2014-06-14 15:44:01 +01:00
ad7303.c iio: dac: ad7303: remove an unneeded check 2014-02-03 21:44:42 +00:00
Kconfig iio: add m62332 DAC driver 2015-05-17 09:37:45 +01:00
m62332.c iio: add m62332 DAC driver 2015-05-17 09:37:45 +01:00
Makefile iio: add m62332 DAC driver 2015-05-17 09:37:45 +01:00
max517.c iio: max517: Add support for MAX520 and MAX521 chips. 2015-03-28 10:57:34 +00:00
max5821.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
mcp4725.c iio: delete non-required instances of include <linux/init.h> 2014-01-11 11:59:00 +00:00
mcp4922.c iio: dac: mcp4902/mcp4912/mcp4922 dac driver 2014-06-21 11:50:33 +01:00