commit | 0181ae77e383ca86bc5182f816c09de2bc38c2d2 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Apr 08 18:21:23 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 09 16:29:25 2013 -0700 |
tree | ae9d21d1dd557f67c1959450e14654042a753740 | |
parent | aac49c3417dc9378cbcead70c671d79cd626709f [diff] |
staging: comedi: rti800: change return of rti800_ai_insn_read() The comedi core expects the (*insn_read) functions to return the number of data values actually read. Change the return from 'i' to 'insn->n' to make this clearer. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>