mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 05:46:50 +07:00
d43a41152f
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> |
||
---|---|---|
.. | ||
bmp280.c | ||
hid-sensor-press.c | ||
hp03.c | ||
hp206c.c | ||
Kconfig | ||
Makefile | ||
mpl115_i2c.c | ||
mpl115_spi.c | ||
mpl115.c | ||
mpl115.h | ||
mpl3115.c | ||
ms5611_core.c | ||
ms5611_i2c.c | ||
ms5611_spi.c | ||
ms5611.h | ||
ms5637.c | ||
st_pressure_buffer.c | ||
st_pressure_core.c | ||
st_pressure_i2c.c | ||
st_pressure_spi.c | ||
st_pressure.h | ||
t5403.c |