linux/drivers/iio/pressure
Peter Meerwald 74c68519ea iio: Fix two mpl3115 issues in measurement conversion
commit d29f592929 upstream.

(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

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Reported-by: Robert Deliën <robert@delien.nl>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2014-06-26 15:15:42 -04:00
..
Kconfig iio: Add Freescale MPL3115A2 pressure / temperature sensor driver 2013-11-24 21:07:13 +00:00
Makefile iio: Add Freescale MPL3115A2 pressure / temperature sensor driver 2013-11-24 21:07:13 +00:00
mpl3115.c iio: Fix two mpl3115 issues in measurement conversion 2014-06-26 15:15:42 -04:00
st_pressure.h iio: pressure: st: Add support for new LPS001WP pressure sensor 2013-09-21 19:24:05 +01:00
st_pressure_buffer.c iio:st_pressure: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:13:56 +01:00
st_pressure_core.c iio: pressure-core: st: Provide support for the Vdd_IO power supply 2013-09-23 20:17:58 +01:00
st_pressure_i2c.c iio: pressure: st: Add support for new LPS001WP pressure sensor 2013-09-21 19:24:05 +01:00
st_pressure_spi.c iio:pressure: Adds LPS001WP support also on spi interface and Kconfig fix 2013-10-23 17:55:14 +01:00