Files
linux/drivers/iio/dac
JM Friedt 734f561a7a iio: DAC: ad5624r_spi: fix bit shift of output data value
commit adfa969850 upstream.

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>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-03 09:29:01 -07:00
..
2014-07-27 14:21:35 +01:00
2014-07-27 14:21:35 +01:00