From: Frank Mori Hess Date: Sun, 19 Aug 2001 02:27:43 +0000 (+0000) Subject: fixed clearing of irq flip flop in read insn, so wait for end of conversion X-Git-Tag: r0_7_61~170 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9b97f271860b902bb60af0dcd8a5491a251a4267;p=comedi.git fixed clearing of irq flip flop in read insn, so wait for end of conversion works properly --- diff --git a/comedi/drivers/das16m1.c b/comedi/drivers/das16m1.c index 2cc53c45..64ea548a 100644 --- a/comedi/drivers/das16m1.c +++ b/comedi/drivers/das16m1.c @@ -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);