summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPetre Rodan <petre.rodan@subdimension.ro>2026-01-14 18:55:34 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-01-16 17:40:40 +0000
commitd63403d4e31ae537fefc5c0ee9d90f29b4fc532b (patch)
tree1cb5772b4dc58a5100276f98add7e2c7686f96c2 /tools/perf/scripts/python
parent8a228e036926f7e57421d750c3724e63f11b808a (diff)
downloadlinux-d63403d4e31ae537fefc5c0ee9d90f29b4fc532b.tar.gz
linux-d63403d4e31ae537fefc5c0ee9d90f29b4fc532b.zip
iio: pressure: mprls0025pa: fix pressure calculation
A sign change is needed for proper calculation of the pressure. This is a minor fix since it only affects users that might have custom silicon from Honeywell that has honeywell,pmin-pascal != 0. Also due to the fact that raw pressure values can not be lower than output_min (400k-3.3M) there is no need to calculate a decimal for the offset. Fixes: 713337d9143e ("iio: pressure: Honeywell mprls0025pa pressure sensor") Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions