replaced udelay with comedi_udelay
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 27 Mar 2003 21:08:29 +0000 (21:08 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 27 Mar 2003 21:08:29 +0000 (21:08 +0000)
comedi/kcomedilib/data.c
comedi/kcomedilib/kcomedilib_main.c

index 24d8d808094a1dd0bf9fb40d74c262829e725a9d..9d7a4e013c8d8c590cce77b1f57a7b8ed5ca85e2 100644 (file)
@@ -81,7 +81,7 @@ int comedi_data_read_delayed(comedi_t *dev,unsigned int subdev,unsigned int chan
        retval = comedi_data_read_hint( dev, subdev, chan, range, aref );
        if( retval < 0 ) return retval;
 
-       udelay( ( nano_sec + 999 ) / 1000 );
+       comedi_udelay( ( nano_sec + 999 ) / 1000 );
 
        return comedi_data_read( dev, subdev, chan, range, aref, data );
 }
index 586199ba2b529125fd7e6f3513492bb0da8b07d6..f14e7708d8399185eda6c94f0e41d2a1c4d303ec 100644 (file)
@@ -211,7 +211,7 @@ int comedi_do_insn(comedi_t *d,comedi_insn *insn)
                                ret = -EINVAL;
                                break;
                        }
-                       udelay(insn->data[0]);
+                       comedi_udelay(insn->data[0]);
                        ret=1;
                        break;
                case INSN_INTTRIG: