linux/drivers/iio
Peter Meerwald 5999ec53f6 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:17:36 -04:00
..
accel iio:accel:bma180: Make LOW_PASS_FILTER_3DB_FREQUENCY shared_by_type 2014-02-15 11:05:02 +00:00
adc iio: adc: at91: signedness bug in at91_adc_get_trigger_value_by_name() 2014-06-26 15:17:36 -04:00
amplifiers iio: amplifiers: ad8366: Remove regulator_put 2013-09-28 11:49:45 +01:00
common iio: hid-sensor-hub: Remove hard coded indexes 2014-02-17 15:09:47 +01:00
dac iio: dac: ad7303: remove an unneeded check 2014-02-03 21:44:42 +00:00
frequency Merge 3.12-rc6 into staging-next. 2013-10-19 13:14:34 -07:00
gyro iio:gyro: bug on L3GD20H gyroscope support 2014-02-18 10:24:49 +00:00
humidity iio: Add si7005 relative humidity and temperature sensor driver 2014-01-11 11:12:44 +00:00
imu iio:imu:mpu6050: Fixed segfault in Invensens MPU driver due to null dereference 2014-04-26 11:14:51 +01:00
light First found of IIO fixes for the 3.15 cycle. 2014-04-22 21:29:20 -07:00
magnetometer iio: Fix endianness issue in ak8975_read_axis() 2014-06-26 15:17:36 -04:00
orientation iio: hid-sensors: Added Inclinometer 3D 2013-12-03 20:31:59 +00:00
pressure iio: Fix two mpl3115 issues in measurement conversion 2014-06-26 15:17:36 -04:00
temperature Merge 3.12-rc2 into staging-next. 2013-09-25 08:59:04 -07:00
trigger iio:trigger: fix sysfs name on list mutex 2013-09-28 11:51:16 +01:00
buffer_cb.c iio get rid of unneccessary error_ret 2014-02-18 08:46:36 +00:00
iio_core.h iio: Factor IIO value formating into its own function 2013-10-12 12:23:33 +01:00
iio_core_trigger.h iio: fix semicolon in io_core_trigger.h 2013-08-03 18:40:32 +01:00
industrialio-buffer.c First found of IIO fixes for the 3.15 cycle. 2014-04-22 21:29:20 -07:00
industrialio-core.c iio: Avoid unnecessary kasprintf 2014-02-18 10:31:11 +00:00
industrialio-event.c iio:event: Fix and cleanup locking 2014-02-23 15:53:25 +00:00
industrialio-trigger.c iio get rid of unneccessary error_ret 2014-02-18 08:46:36 +00:00
industrialio-triggered-buffer.c iio:triggered-buffer: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:12:47 +01:00
inkern.c iio: inkern: fix iio_convert_raw_to_processed_unlocked 2013-07-03 20:30:52 +01:00
Kconfig iio: hid-sensors: Added Inclinometer 3D 2013-12-03 20:31:59 +00:00
kfifo_buf.c iio: kfifo_buf: Implement data_available() callback 2013-12-03 20:22:28 +00:00
Makefile iio: hid-sensors: Added Inclinometer 3D 2013-12-03 20:31:59 +00:00