aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-01-09 14:01:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-01-09 21:15:33 +0000
commita02a8c42b588059aa06dff6f614a7afcba12df69 (patch)
tree38dc5486e08fdfe602c369f4f3db833700ee6b3e /tools/perf/scripts/python/export-to-postgresql.py
parentiio: mxs-lradc: indexes are unsigned (diff)
downloadlinux-dev-a02a8c42b588059aa06dff6f614a7afcba12df69.tar.xz
linux-dev-a02a8c42b588059aa06dff6f614a7afcba12df69.zip
staging:iio:adis16080: Perform sign extension
The adis16080 reports sample values in twos complement. So we need to perform a sign extension on the result, otherwise negative values will be reported incorrectly as large positive values. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions