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:
8ffc4e7
)
IIO: GYRO: ADXRS450: Fix sign issues, properly shift results and limit values
author
Michael Hennerich
<michael.hennerich@analog.com>
Fri, 29 Apr 2011 12:17:03 +0000
(14:17 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 3 May 2011 18:40:02 +0000
(11:40 -0700)
RATE and QUADRATURE_CORRECTION data is formatted as a twos complement number,
and therefore must be handled as type signed short.
TEMP result should be properly shifted.
Dynamic Null Correction is a 10-bit signed number.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found