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:
fbca05d
)
staging: comedi: ni_labpc: return error from labpc_counter_set_mode()
author
H Hartley Sweeten
<hsweeten@visionengravers.com>
Fri, 22 Mar 2013 16:54:41 +0000
(09:54 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:42:59 +0000
(11:42 -0700)
Make sure labpc_counter_set_mode() was successfull and return any
errno back to the caller.
For the if/else conditions that either load the counter of just set
the mode, use a common error patch to check for the error.
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>
No differences found