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:
b155c5f
)
staging: comedi: rtd520: factor out the board reset
author
H Hartley Sweeten
<hartleys@visionengravers.com>
Mon, 29 Oct 2012 17:02:39 +0000
(10:02 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 17:44:37 +0000
(10:44 -0700)
Factor the common code that does the low-level reset of the board
out of rtd_init_board() and rtc_detach().
Fix the if test in rtd_detach() before doing the reset, devpriv->lcfg
could be NULL at this point.
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