staging: comedi: ni_mio_common: fix the (*insn_read) for the freq_out counter
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 28 May 2014 23:26:54 +0000 (16:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 21:33:53 +0000 (14:33 -0700)
commitd9c4261f6a35bf9067ba0fdaf8ed4775ee0c5cea
treed6b457f74964b699c3d9f6ced5c18ce7c7817718
parent00a92c03be9ff392383e18ba222d480fc34d568c
staging: comedi: ni_mio_common: fix the (*insn_read) for the freq_out counter

The (*insn_read) functions are supposed to "read" insn->n data values and
return the number of values read.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c