summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSean Nyekjaer <sean@geanix.com>2025-05-02 12:37:26 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-05-07 21:40:38 +0300
commite2f820014239df9360064079ae93f838ff3b7f8c (patch)
tree676c75f36f9e8408f979ae81b96fe24fb3b4d075 /tools/perf/scripts/python/task-analyzer.py
parent921fece3268c3bf2e8c20dd17ff9e5454fa16fda (diff)
downloadlinux-e2f820014239df9360064079ae93f838ff3b7f8c.tar.xz
iio: imu: inv_icm42600: Fix temperature calculation
>From the documentation: "offset to be added to <type>[Y]_raw prior toscaling by <type>[Y]_scale" Offset should be applied before multiplying scale, so divide offset by scale to make this correct. Fixes: bc3eb0207fb5 ("iio: imu: inv_icm42600: add temperature sensor support") Signed-off-by: Sean Nyekjaer <sean@geanix.com> Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com> Link: https://patch.msgid.link/20250502-imu-v1-1-129b8391a4e3@geanix.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions