2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/drivers/iio/pressure
Peter Meerwald d29f592929 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>
2014-05-29 17:38:36 +01:00
..
hid-sensor-press.c iio: hid-sensors: Added Pressure Sensor driver 2014-02-22 13:07:06 +00:00
Kconfig iio:pressure: Add support for LPS25H pressure sensor 2014-02-22 13:09:53 +00:00
Makefile iio: hid-sensors: Added Pressure Sensor driver 2014-02-22 13:07:06 +00:00
mpl3115.c iio: Fix two mpl3115 issues in measurement conversion 2014-05-29 17:38:36 +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: Add support for LPS25H pressure sensor 2014-02-22 13:09:53 +00:00
st_pressure_i2c.c iio:pressure: Add support for LPS25H pressure sensor 2014-02-22 13:09:53 +00:00
st_pressure_spi.c iio:pressure: Add support for LPS25H pressure sensor 2014-02-22 13:09:53 +00:00
st_pressure.h iio:pressure: Add support for LPS25H pressure sensor 2014-02-22 13:09:53 +00:00