projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bba6b7
)
interface change: INSN_WAIT now takes nanoseconds instead of
author
David Schleef
<ds@schleef.org>
Mon, 5 Feb 2001 02:17:05 +0000
(
02:17
+0000)
committer
David Schleef
<ds@schleef.org>
Mon, 5 Feb 2001 02:17:05 +0000
(
02:17
+0000)
microseconds.
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index f4a8e3ec587a7d8e58e3dde23ef92cd4fbe805c3..f7ca89f8631d81dd37ce2ecde08a11fe94473c7a 100644
(file)
--- a/
comedi/comedi_fops.c
+++ b/
comedi/comedi_fops.c
@@
-776,11
+776,11
@@
static int do_insnlist_ioctl(comedi_device *dev,void *arg,void *file)
break;
}
case INSN_WAIT:
- if(insn.n<1 || data[0]>=100){
+ if(insn.n<1 || data[0]>=100
000
){
ret=-EINVAL;
break;
}
- udelay(data[0]);
+ udelay(data[0]
/1000
);
ret=1;
break;
default: