aboutsummaryrefslogtreecommitdiff
path: root/scripts/config
diff options
context:
space:
mode:
authorLars-Peter Clausen2012-08-10 17:36:00 +0100
committerJonathan Cameron2012-08-16 20:24:37 +0100
commit58cdff6ee71b4ea00a6b822a52ebf9ceb0b6a7d5 (patch)
tree4d0b4004c78dc40078098a41edb924bdccf5149a /scripts/config
parenta684a0c711d384665b43f9079a035e52a2761eab (diff)
staging:iio:ad7192: Report channel offset
In bipolar mode there is a a binary offset of 2**(N-1) (with N being the number of bits) on the reported value. Currently this value is subtracted when doing a manual read. While this works for manual channel readings it does not work for buffered mode. So report the offset in the channels offset property, which will work in both modes. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'scripts/config')
0 files changed, 0 insertions, 0 deletions