From: Lars-Peter Clausen Date: Thu, 31 Jan 2013 14:27:00 +0000 (+0000) Subject: staging:iio:adxrs450: Perform sign extension for the calibbias register X-Git-Tag: v3.9-rc1~127^2~117^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c62b89c713ebd5e4a67c9b9229591adab8953a3c;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed