git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e96caf3
)
staging: comedi: ni_tio: fix ni_tio_insn_read()
author
H Hartley Sweeten
<hsweeten@visionengravers.com>
Thu, 24 Jul 2014 17:14:26 +0000
(10:14 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:16:46 +0000
(11:16 -0700)
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>
No differences found