diff options
| author | Dimitri Fedrau <[email protected]> | 2025-10-16 05:20:38 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2025-10-19 10:46:24 +0000 |
| commit | 7b8dc11c0a830caa0d890c603d597161c6c26095 (patch) | |
| tree | d9c303fd3dbb05c543453e5d2b24517ae3ee1854 /scripts/basic/docproc.c | |
| parent | iio: imu: st_lsm6dsx: fix array size for st_lsm6dsx_settings fields (diff) | |
| download | kernel-7b8dc11c0a830caa0d890c603d597161c6c26095.tar.gz kernel-7b8dc11c0a830caa0d890c603d597161c6c26095.zip | |
iio: humditiy: hdc3020: fix units for temperature and humidity measurement
According to the ABI the units after application of scale and offset are
milli degrees for temperature measurements and milli percent for relative
humidity measurements. Currently the resulting units are degree celsius for
temperature measurements and percent for relative humidity measurements.
Change scale factor to fix this issue.
Fixes: c9180b8e39be ("iio: humidity: Add driver for ti HDC302x humidity sensors")
Reported-by: Chris Lesiak <[email protected]>
Suggested-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 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
