linux/drivers/iio/dac
JM Friedt 09f4dcc944 iio: DAC: ad5624r_spi: fix bit shift of output data value
The value sent on the SPI bus is shifted by an erroneous number of bits.
The shift value was already computed in the iio_chan_spec structure and
hence subtracting this argument to 16 yields an erroneous data position
in the SPI stream.

Signed-off-by: JM Friedt <jmfriedt@femto-st.fr>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-07-19 11:48:05 +01:00
..
ad5064.c iio:dac:ad5064 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 20:56:33 +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:dac:ad5380 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 20:58:34 +00: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:dac:ad5446 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 21:00:09 +00: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-07-19 11:48:05 +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: add support of the max5821 2014-07-27 14:21:35 +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