git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fcbcf9
)
staging:iio:ad7780: Mark channels as unsigned
author
Lars-Peter Clausen
<lars@metafoo.de>
Fri, 10 Aug 2012 16:36:00 +0000
(17:36 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Thu, 16 Aug 2012 19:24:37 +0000
(20:24 +0100)
The values reported by the AD7780 are unsigned with a binary offset:
0x000000 is negative fullscale
0x800000 is zeroscale
0xffffff is positive fullscale
So mark the channel in the channel spec as unsigned rather than signed.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
No differences found