From: Frank Mori Hess Date: Sat, 31 Jan 2004 22:09:48 +0000 (+0000) Subject: increase udelay while wait for dma to load analog output since the X-Git-Tag: r0_7_69~121 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=00bb9df85dfbdd770f016f5258c14fa00dc2a259;p=comedi.git increase udelay while wait for dma to load analog output since the polling of the status register seems to slow the dma transfer --- diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 35168d13..bf6707e8 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -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 ) {