Files
twx-linux/drivers/iio/pressure
Gregor Boirie 923f209551 iio:st_pressure: fix sampling gains (bring inline with ABI)
commit d43a41152f upstream.

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>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-07-27 09:47:36 -07:00
..
…
2015-10-11 10:21:21 +01:00
2015-10-11 10:21:20 +01:00
…
2015-10-11 10:21:21 +01:00
…