diff options
| author | Dimitri Fedrau <[email protected]> | 2025-10-16 05:20:39 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2025-10-19 10:46:24 +0000 |
| commit | cb372b4f46d4285e5d2c07ba734374151b8e34e7 (patch) | |
| tree | 05b22932f4eeb0c2a7b0fe9bda58590c7fb614a9 /lib/test_fortify/write_overflow-strlcpy-src.c | |
| parent | iio: humditiy: hdc3020: fix units for temperature and humidity measurement (diff) | |
| download | kernel-cb372b4f46d4285e5d2c07ba734374151b8e34e7.tar.gz kernel-cb372b4f46d4285e5d2c07ba734374151b8e34e7.zip | |
iio: humditiy: hdc3020: fix units for thresholds and hysteresis
According to the ABI the units after application of scale and offset are
milli degree celsius for temperature thresholds and milli percent for
relative humidity thresholds. Currently the resulting units are degree
celsius for temperature thresholds and hysteresis and percent for relative
humidity thresholds and hysteresis. Change scale factor to fix this issue.
Fixes: 3ad0e7e5f0cb ("iio: humidity: hdc3020: add threshold events support")
Reported-by: Chris Lesiak <[email protected]>
Reviewed-by: Javier Carrasco <[email protected]>
Signed-off-by: Dimitri Fedrau <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions
