linux_dsm_epyc7002/drivers/iio/pressure
Gregor Boirie d43a41152f iio:st_pressure: fix sampling gains (bring inline with ABI)
Temperature channels report scaled samples in Celsius although expected as
milli degree Celsius in Documentation/ABI/testing/sysfs-bus-iio.
Gains are not implemented at all for LPS001WP pressure and temperature
channels.

This patch ensures that proper offsets and scales are exposed to userpace
for both pressure and temperature channels.
Also fix a NULL pointer exception when userspace reads content of sysfs
scale attribute when gains are not defined.

Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-05-29 15:48:54 +01:00
..
bmp280.c iio: pressure: bmp280: fix error message for wrong chip id 2016-05-14 19:02:01 +01:00
hid-sensor-press.c Second set of new driver, functionality and cleanups for IIO in the 4.2 cycle. 2015-05-24 11:45:21 -07:00
hp03.c iio: pressure: hp03: Add Hope RF HP03 sensor support 2016-04-24 09:46:14 +01:00
hp206c.c hp206c: Initial support for reading sensor values 2016-04-03 11:14:01 +01:00
Kconfig iio: pressure: bmp280: add support for BMP180 2016-04-25 19:03:14 +01:00
Makefile iio: pressure: hp03: Add Hope RF HP03 sensor support 2016-04-24 09:46:14 +01:00
mpl115_i2c.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
mpl115_spi.c iio: pressure: mpl115: support MPL115A1 2016-01-30 16:27:12 +00:00
mpl115.c Merge 4.5-rc3 into staging-next 2016-02-07 17:34:04 -08:00
mpl115.h iio: pressure: mpl115: support MPL115A1 2016-01-30 16:27:12 +00:00
mpl3115.c iio: Fix two mpl3115 issues in measurement conversion 2014-05-29 17:38:36 +01:00
ms5611_core.c iio: pressure: ms5611: use tab for indention 2016-04-16 13:39:28 +01:00
ms5611_i2c.c iio:pressure:ms5611: oversampling rate support 2016-03-05 14:45:14 +00:00
ms5611_spi.c iio: pressure: ms5611: use tab for indention 2016-04-16 13:39:28 +01:00
ms5611.h iio:pressure:ms5611: fix missing regulator_disable 2016-03-20 11:02:40 +00:00
ms5637.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
st_pressure_buffer.c iio:pressure: Changed pressure data variable name to press_data 2014-10-04 11:26:09 +01:00
st_pressure_core.c iio:st_pressure: fix sampling gains (bring inline with ABI) 2016-05-29 15:48:54 +01:00
st_pressure_i2c.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
st_pressure_spi.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
st_pressure.h iio:pressure: Removed unnecessary parameter on common_probe function 2014-10-04 11:25:38 +01:00
t5403.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00