From 9b97f271860b902bb60af0dcd8a5491a251a4267 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 19 Aug 2001 02:27:43 +0000 Subject: [PATCH] fixed clearing of irq flip flop in read insn, so wait for end of conversion works properly --- comedi/drivers/das16m1.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.26.2