diff options
| author | Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com> | 2025-12-18 13:30:59 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-12-21 21:40:56 +0300 |
| commit | 943cbf906956a6c081636bec2458a31dbe482170 (patch) | |
| tree | 3367adca11925db18120d5116c16c0174c6065f4 /scripts/reference_init.pl | |
| parent | ea6b4feba85e996e840e0b661bc42793df6eb701 (diff) | |
| download | linux-943cbf906956a6c081636bec2458a31dbe482170.tar.xz | |
iio: imu: inv_icm45600: fix temperature offset reporting
Correct temperature computation is (raw + offset) * scale and not
apply scale and offset afterward.
Fix temperature offset reporting to the correct value and update
commentaries for the new computation.
Fixes: 27e072bc34d1 ("iio: imu: inv_icm45600: add IMU IIO gyroscope device")
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/reference_init.pl')
0 files changed, 0 insertions, 0 deletions
