diff options
author | Sean Nyekjaer <sean@geanix.com> | 2025-05-05 22:20:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-27 13:11:40 +0300 |
commit | 5cfc95dc2f0185c2afc713fdf75caac63a96323b (patch) | |
tree | e15ff4aaa86241af40275cb069114c955d75a871 /scripts/generate_rust_analyzer.py | |
parent | d488691a4a8c0969a8f1db58e1b1eab84d3a7ec0 (diff) | |
download | linux-5cfc95dc2f0185c2afc713fdf75caac63a96323b.tar.xz |
iio: accel: fxls8962af: Fix temperature calculation
commit 16038474e3a0263572f36326ef85057aaf341814 upstream.
According to spec temperature should be returned in milli degrees Celsius.
Add in_temp_scale to calculate from Celsius to milli Celsius.
Fixes: a3e0b51884ee ("iio: accel: add support for FXLS8962AF/FXLS8964AF accelerometers")
Cc: stable@vger.kernel.org
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Link: https://patch.msgid.link/20250505-fxls-v4-1-a38652e21738@geanix.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions