From: H Hartley Sweeten Date: Wed, 28 May 2014 23:26:53 +0000 (-0700) Subject: staging: comedi: ni_mio_common: fix the (*insn_write) for the freq_out counter X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1992 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00a92c03be9ff392383e18ba222d480fc34d568c;p=pandora-kernel.git staging: comedi: ni_mio_common: fix the (*insn_write) for the freq_out counter The (*insn_write) functions are supposed to write insn->n data values and return the number of values written. For this subdevice it only makes sense to write the last data value. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed