increase udelay while wait for dma to load analog output since the
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 31 Jan 2004 22:09:48 +0000 (22:09 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sat, 31 Jan 2004 22:09:48 +0000 (22:09 +0000)
polling of the status register seems to slow the dma transfer

comedi/drivers/ni_mio_common.c

index 35168d13006ab54b5a6795fd07ece63ac5a279f4..bf6707e8d22096fb1b271dac96dc6fecea2e4b0d 100644 (file)
@@ -523,7 +523,7 @@ static int ni_ao_wait_for_dma_load( comedi_device *dev )
                b_status = win_in( AO_Status_1_Register );
                if( b_status & AO_FIFO_Half_Full_St )
                        break;
-               comedi_udelay(1);
+               comedi_udelay(10);
        }
        if( i == timeout )
        {