summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorJM Friedt <jmfriedt@femto-st.fr>2015-06-19 14:48:06 +0200
committerJiri Slaby <jslaby@suse.cz>2015-08-04 16:52:05 +0200
commit01f57f0290a69404414e8c3c5a1072a5a0287022 (patch)
treeec3521e450f6a540ac6dea5ef663065d1ac77946 /drivers/media
parentaff49470b3c4f028470e8fd61f01e2ba1d48c50d (diff)
downloadlwn-01f57f0290a69404414e8c3c5a1072a5a0287022.tar.gz
lwn-01f57f0290a69404414e8c3c5a1072a5a0287022.zip
iio: DAC: ad5624r_spi: fix bit shift of output data value
commit adfa969850ae93beca57f7527f0e4dc10cbe1309 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: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions