From 83ee32772b8265d9c2b8e62d83caf6b66735667a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 5 Feb 2001 02:17:05 +0000 Subject: [PATCH] interface change: INSN_WAIT now takes nanoseconds instead of microseconds. --- comedi/comedi_fops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.26.2