]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: ni_6527: reset edge detection registers
authorIan Abbott <abbotti@mev.co.uk>
Mon, 21 Jul 2014 16:29:06 +0000 (17:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jul 2014 23:07:05 +0000 (16:07 -0700)
commite44c53920fc7feafc412e547e0a8d62530b1a28d
tree18a0f8dbba4b4e2100099e1db1a3fcee143f4e8f
parent110f9e687c1a8490383612817ac03f4b29861da1
staging: comedi: ni_6527: reset edge detection registers

`ni6527_reset()` is called to reset various registers when the device is
being initialized or deinitialized.  The edge detection interrupt is
disabled by this function, but the rising and falling edge detection
registers are currently left alone.  Call `ni6527_set_edge_detection()`
to set them to a known, disabled state.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_6527.c