diff options
author | Lars-Peter Clausen | 2012-08-10 17:36:00 +0100 |
---|---|---|
committer | Jonathan Cameron | 2012-08-16 20:24:37 +0100 |
commit | 58cdff6ee71b4ea00a6b822a52ebf9ceb0b6a7d5 (patch) | |
tree | 4d0b4004c78dc40078098a41edb924bdccf5149a /include/trace | |
parent | a684a0c711d384665b43f9079a035e52a2761eab (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 'include/trace')
0 files changed, 0 insertions, 0 deletions