From 6c64bad86a480e545d54148158441acb51f7accb Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 11 Jun 2001 22:38:34 +0000 Subject: [PATCH] fix to bug in fifo overflow check I created with last revision --- comedi/drivers/das800.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comedi/drivers/das800.c b/comedi/drivers/das800.c index 78bed8b2..278ff6c1 100644 --- a/comedi/drivers/das800.c +++ b/comedi/drivers/das800.c @@ -397,6 +397,8 @@ static void das800_interrupt(int irq, void *d, struct pt_regs *regs) if(thisboard->resolution == 12) { fifo_empty = dataPoint & FIFO_EMPTY; + fifo_overflow = dataPoint & FIFO_OVF; + if(fifo_overflow) break; }else { fifo_empty = 0; // cio-das802/16 has no fifo empty status bit -- 2.26.2