staging: comedi: ni_65xx: disable edge detection on initialization

When the hardware is being initialized, the edge detection interrupts
are cleared and disabled.  Also disable edge detection for all channels
at this time so they start off in a known state.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ian Abbott 2014-07-23 10:41:21 +01:00 committed by Greg Kroah-Hartman
parent 3443d1c6d1
commit 31adc05f74

View file

@ -804,6 +804,7 @@ static int ni_65xx_auto_attach(struct comedi_device *dev,
}
ni_65xx_disable_input_filters(dev);
ni_65xx_disable_edge_detection(dev);
return 0;
}