From: Lars-Peter Clausen Date: Wed, 9 Jan 2013 14:01:00 +0000 (+0000) Subject: staging:iio:adis16080: Perform sign extension X-Git-Tag: v3.8-rc5~39^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a02a8c42b588059aa06dff6f614a7afcba12df69;p=pandora-kernel.git staging:iio:adis16080: Perform sign extension The adis16080 reports sample values in twos complement. So we need to perform a sign extension on the result, otherwise negative values will be reported incorrectly as large positive values. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed