made poll() work on dma transfers again
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 3 Jan 2002 02:05:53 +0000 (02:05 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 3 Jan 2002 02:05:53 +0000 (02:05 +0000)
comedi/drivers/das1800.c

index 987fcd65c98f4b8452c967bfc1d16e427b8bfe9b..67009a00d58efd8992dc1129579044a24e1c0061 100644 (file)
@@ -930,8 +930,9 @@ static void das1800_ai_handler(comedi_device *dev)
                {
                        // clear DMATC interrupt bit
                        outb(CLEAR_INTR_MASK & ~DMATC, dev->iobase + DAS1800_STATUS);
-                       das1800_handle_dma(dev, s);
                }
+               // look for data from dma transfer even if dma terminal count hasn't happened yet
+               das1800_handle_dma(dev, s);
        }else if(status & FHF)
        {       // if fifo half full
                das1800_handle_fifo_half_full(dev, s);