From: Frank Mori Hess Date: Thu, 27 Mar 2003 21:08:29 +0000 (+0000) Subject: replaced udelay with comedi_udelay X-Git-Tag: r0_7_67x~52 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5a754caf4ef241cdce29885984c67e5daa3e1577;p=comedi.git replaced udelay with comedi_udelay --- diff --git a/comedi/kcomedilib/data.c b/comedi/kcomedilib/data.c index 24d8d808..9d7a4e01 100644 --- a/comedi/kcomedilib/data.c +++ b/comedi/kcomedilib/data.c @@ -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 ); } diff --git a/comedi/kcomedilib/kcomedilib_main.c b/comedi/kcomedilib/kcomedilib_main.c index 586199ba..f14e7708 100644 --- a/comedi/kcomedilib/kcomedilib_main.c +++ b/comedi/kcomedilib/kcomedilib_main.c @@ -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: