summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPiyush Patle <piyushpatle228@gmail.com>2026-05-11 23:13:30 +0530
committerJonathan Cameron <jic23@kernel.org>2026-05-31 10:59:39 +0100
commit0ce8e3b445a3fec83a023f11512f63ff6da0d460 (patch)
treeaa5d1dceccfbc39bd6ed2573b28bded484ef0aeb /tools/perf/scripts/python/stackcollapse.py
parentd20605e18129079876485d652992c7ab48aaecde (diff)
iio: adc: hx711: move scale computation to per-device storage
The gain-to-scale table is global today, so probe-time scale updates for one device overwrite the values used by any earlier device instance. Fix this by making the gain table const and storing the computed scale values per device in hx711_data. No functional change for single-sensor configurations. Signed-off-by: Piyush Patle <piyushpatle228@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions