From 5a754caf4ef241cdce29885984c67e5daa3e1577 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Thu, 27 Mar 2003 21:08:29 +0000 Subject: [PATCH] replaced udelay with comedi_udelay --- comedi/kcomedilib/data.c | 2 +- comedi/kcomedilib/kcomedilib_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: -- 2.26.2