fixed clearing of irq flip flop in read insn, so wait for end of conversion
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 19 Aug 2001 02:27:43 +0000 (02:27 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 19 Aug 2001 02:27:43 +0000 (02:27 +0000)
works properly

comedi/drivers/das16m1.c

index 2cc53c45d32f2924f5a1f45dcb8511e6efa91730..64ea548a67bcf9eec82f805f2cbd1a2deef6f271 100644 (file)
@@ -370,6 +370,8 @@ static int das16m1_ai_rinsn(comedi_device *dev,comedi_subdevice *s,comedi_insn *
 
        for(n = 0; n < insn->n; n++)
        {
+               /* clear IRQDATA bit */
+               outb(0, dev->iobase + DAS16M1_CLEAR_INTR);
                /* trigger conversion */
                outb(0, dev->iobase);