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:
42e705e
)
staging: comedi: ni_6527: introduce ni6527_reset()
author
H Hartley Sweeten
<hsweeten@visionengravers.com>
Tue, 1 Oct 2013 22:13:48 +0000
(15:13 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 3 Oct 2013 21:10:03 +0000
(14:10 -0700)
Factor the board reset code out of the (*attach). Do the reset as
soon as possible to ensure the interrupts are disabled.
For convienence, use the ni6257_reset() during the (*detach) instead
of just disabling the interrupts.
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