From: H Hartley Sweeten Date: Mon, 14 Jul 2014 19:23:50 +0000 (-0700) Subject: staging: comedi: ni_mio_common: fix ni_ao_insn_read() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~682 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47ef2541fefbff61d54b8bbb47ccc9cd736bb49e;p=pandora-kernel.git staging: comedi: ni_mio_common: fix ni_ao_insn_read() The comedi core expects (*insn_read) functions to return insn->n data smaples. Fix this function to work like the core expects. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed