summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2014-05-20 08:36:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-05-29 17:38:36 +0100
commitd29f592929489d0a7c414396fae28119f3d280e1 (patch)
tree6b6e700008a5aaa52462ef69757c0888bd07dcd9 /drivers/staging/iio
parentc0a36f08f4241538368c0ceafd0aa07a0e57b47e (diff)
downloadlinux-d29f592929489d0a7c414396fae28119f3d280e1.tar.gz
linux-d29f592929489d0a7c414396fae28119f3d280e1.tar.bz2
linux-d29f592929489d0a7c414396fae28119f3d280e1.zip
iio: Fix two mpl3115 issues in measurement conversion
(i) pressure is 20-bit unsigned, not signed; the buffer description is incorrect; for raw reads, this is just cosmetic (ii) temperature is 12-bit signed, not 16-bit; this affects readout of temperatures below zero as the sign bit is incorrectly processed reported via private mail Cc: stable@vger.kernel.org Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Reported-by: Robert Deliƫn <robert@delien.nl> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio')
0 files changed, 0 insertions, 0 deletions