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:
b2c20d1
)
staging: comedi: ssv_dnp: use comedi_dio_update_state()
author
H Hartley Sweeten
<hsweeten@visionengravers.com>
Fri, 30 Aug 2013 18:08:50 +0000
(11:08 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:47:41 +0000
(07:47 -0700)
Use comedi_dio_update_state() to handle the boilerplate code to update
the subdevice s->state.
Also, fix a bug where the state of the channels is returned in data[0].
The comedi core expects it to be returned in data[1].
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