From: David Schleef Date: Mon, 5 Feb 2001 02:17:05 +0000 (+0000) Subject: interface change: INSN_WAIT now takes nanoseconds instead of X-Git-Tag: r0_7_56~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83ee32772b8265d9c2b8e62d83caf6b66735667a;p=comedi.git interface change: INSN_WAIT now takes nanoseconds instead of microseconds. --- diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index f4a8e3ec..f7ca89f8 100644 --- 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]>=100000){ ret=-EINVAL; break; } - udelay(data[0]); + udelay(data[0]/1000); ret=1; break; default: