From: H Hartley Sweeten Date: Tue, 26 Mar 2013 17:27:11 +0000 (-0700) Subject: staging: comedi: ni_labpc: fix labpc_calib_insn_read() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~419 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=198ac9dc7f0d06cd760d376c6a6c6217c5968d4a;p=pandora-kernel.git staging: comedi: ni_labpc: fix labpc_calib_insn_read() The comedi core expects the (*insn_read) operations to read insn->n values and return the number of values actually read. Make this function work like the core expects. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed