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:
parent
3443d1c6d1
commit
31adc05f74
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue