diff options
author | David Lechner <[email protected]> | 2023-09-29 12:23:12 -0500 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2023-09-30 15:40:43 +0100 |
commit | 1b6eba71cae261d504d5826897a22a9a45f200d2 (patch) | |
tree | ba150bfe8f82cc26c0474b7bd134191cffbde003 /tools/perf/scripts/python/stackcollapse.py | |
parent | acbfaee17014811d96d9094ce2fb723384dfc009 (diff) |
staging: iio: resolver: ad2s1210: always use 16-bit value for raw read
This removes the special handling for resolutions lower than 16 bits.
This will allow us to use a fixed scale independent of the resolution.
A new sample field is added to store the raw data instead of reusing
the config mode rx buffer so that we don't have to do a cast or worry
about unaligned access.
Also, for the record, according to the datasheet, the logic for the
special handling based on hysteresis that was removed was incorrect.
Signed-off-by: David Lechner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions