aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2022-06-26 13:29:33 +0100
committerJonathan Cameron <[email protected]>2022-08-15 22:30:01 +0100
commit2d72ead25abb72996a7e92608224d2503a3bac9c (patch)
tree23c2a006bd3b6d05fa31ab2e5a20aee5ac3f5ee6 /tools/perf/scripts/python/event_analyzing_sample.py
parent5c64990b99aa91622cf044a9a2f7a78de8f770a2 (diff)
staging: iio: cdc: ad7746: Switch from _offset to _zeropoint for differential channels.
As this offset is applied equally to both lines of the differential pair, _ofset should not be used. Use the new ABI _zeropoint instead to avoid userspace software applying this value when calculating real value = (_raw + _offset) * _scale Also add a comment to explain why an offset of 0x800000 is applied within the driver rather than exposed to userspace. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions