summaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJM Friedt <jmfriedt@femto-st.fr>2015-06-19 14:48:06 +0200
committerJonathan Cameron <jic23@kernel.org>2015-07-19 12:48:05 +0200
commit09f4dcc9443c4731b6669066bd1bc4312ef17bcc (patch)
tree220218abd9ac05cc50beed1592b46deec5941c39 /lib/string_helpers.c
parentiio: proximity: sx9500: Fix proximity value (diff)
downloadlinux-09f4dcc9443c4731b6669066bd1bc4312ef17bcc.tar.xz
linux-09f4dcc9443c4731b6669066bd1bc4312ef17bcc.zip
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>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions