diff options
| author | Dimitri Fedrau <dimitri.fedrau@liebherr.com> | 2025-10-16 07:20:39 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-10-19 11:46:24 +0100 |
| commit | cb372b4f46d4285e5d2c07ba734374151b8e34e7 (patch) | |
| tree | 05b22932f4eeb0c2a7b0fe9bda58590c7fb614a9 /scripts/lib/kdoc/kdoc_files.py | |
| parent | 7b8dc11c0a830caa0d890c603d597161c6c26095 (diff) | |
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 <chris.lesiak@licorbio.com>
Reviewed-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Signed-off-by: Dimitri Fedrau <dimitri.fedrau@liebherr.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
