From: Ian Abbott Date: Wed, 16 Oct 2013 13:40:35 +0000 (+0100) Subject: staging: comedi: rtd520: sample types are unsigned X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~220 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=055a1e2c569d885eedfc4d5bfaf228e653e9285a;p=pandora-kernel.git staging: comedi: rtd520: sample types are unsigned Sample values in comedi are generally represented as unsigned values. Use unsigned types for sample value manipulations in the "rtd520" driver for consistency. Also replace the hand-coded munging of 2's complement sample values with calls to `comedi_offset_munge()` and AND with `s->maxdata` to strip off any extra sign bits. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed