From: H Hartley Sweeten Date: Fri, 5 Sep 2014 16:25:41 +0000 (-0700) Subject: staging: comedi: adl_pci9118: ai (*insn_read) does not use interrupts X-Git-Tag: v3.18-rc1~130^2~661 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bdbeaed3f869d474774edc72a8f1ba6e091e2d82;p=karo-tx-linux.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/adl_pci9118.c b/drivers/staging/comedi/drivers/adl_pci9118.c index 56458acdac75..e3e405237330 100644 --- a/drivers/staging/comedi/drivers/adl_pci9118.c +++ b/drivers/staging/comedi/drivers/adl_pci9118.c @@ -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); /*