projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c459e6c
)
increase udelay while wait for dma to load analog output since the
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 31 Jan 2004 22:09:48 +0000
(22:09 +0000)
committer
Frank 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
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_mio_common.c
b/comedi/drivers/ni_mio_common.c
index 35168d13006ab54b5a6795fd07ece63ac5a279f4..bf6707e8d22096fb1b271dac96dc6fecea2e4b0d 100644
(file)
--- 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(1
0
);
}
if( i == timeout )
{