aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2013-01-31 14:27:00 +0000
committerJonathan Cameron <[email protected]>2013-02-02 09:20:56 +0000
commitc62b89c713ebd5e4a67c9b9229591adab8953a3c (patch)
tree82c993afa7364bd28184948dc24f16e2c51bb826 /tools/perf/scripts/python
parent1a87e4fba63cd82d74f23b6e0b75ad6b01b15774 (diff)
staging:iio:adxrs450: Perform sign extension for the calibbias register
The calibbias (DNC) register contains a 10-bit twos complement value. Perform a proper sign extension when reading the register, otherwise negative will incorrectly be displayed as large positive values. Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions