commit | 27c4d23cb070fd83f5705aabfad8d277fed9e022 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Jul 24 10:14:26 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jul 27 11:16:46 2014 -0700 |
tree | 8d6a21a3eaf092cc384aef694deaccc89bcbfd56 | |
parent | e96caf368c043353e6c30d2877677a88c0b25c85 [diff] |
staging: comedi: ni_tio: fix ni_tio_insn_read() The comedi core expects the (*insn_read) operations to read insn->n values and return the number of values read. Fix this function to work line the core expects. For aesthetics, factor out the code that reads the SM_Save_Reg. 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>