summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorJM Friedt <jmfriedt@femto-st.fr>2015-06-19 14:48:06 +0200
committerJonathan Cameron <jic23@kernel.org>2015-06-21 14:03:28 +0100
commitadfa969850ae93beca57f7527f0e4dc10cbe1309 (patch)
tree01122863c0ec44fd03145cc4f13223c57f50f982 /drivers/power
parentfd1883f07cb434707e50c4c9a16e3ed4b3a5e74f (diff)
downloadop-kernel-dev-adfa969850ae93beca57f7527f0e4dc10cbe1309.zip
op-kernel-dev-adfa969850ae93beca57f7527f0e4dc10cbe1309.tar.gz
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 'drivers/power')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud