From: H Hartley Sweeten Date: Wed, 5 Aug 2015 17:44:55 +0000 (-0700) Subject: staging: comedi: me4000: fix me4000_ai_insn_read() X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~217 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb7891e48fc2eac16f615e81df06b7510981ef73;p=pandora-kernel.git staging: comedi: me4000: fix me4000_ai_insn_read() The coemdi (*insn_read) functions are supposed to read insn->n values from the hardware. Make this function work like the core expects. Use the comedi_offset_munge() helper to munge the two's complement values to offset binary. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed