staging: comedi: adl_pci9118: ai (*insn_read) does not use interrupts

The analog input (*insn_read) in this driver is done as a software-triggered,
polled operation. The PCI9118_AI_CTRL_INT bit in the control register, which
is actually set in setup_channel_list(), should not be set.

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>
This commit is contained in:
H Hartley Sweeten
2014-09-05 09:25:41 -07:00
committed by Greg Kroah-Hartman
parent 5358e8996f
commit bdbeaed3f8

View File

@@ -483,7 +483,7 @@ static int pci9118_insn_read_ai(struct comedi_device *dev,
int ret;
int n;
devpriv->AdControlReg = PCI9118_AI_CTRL_INT;
devpriv->AdControlReg = 0;
devpriv->AdFunctionReg = PCI9118_AI_CFG_PDTRG | PCI9118_AI_CFG_PETRG;
outl(devpriv->AdFunctionReg, dev->iobase + PCI9118_AI_CFG_REG);
/*