[svn-commits] mattf: branch 1.4 r4230 - /branches/1.4/kernel/wct4xxp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri May 2 14:43:44 CDT 2008
Author: mattf
Date: Fri May 2 14:43:44 2008
New Revision: 4230
URL: http://svn.digium.com/view/zaptel?view=rev&rev=4230
Log:
Remove old schedule_timout code and replace with an msleep
Modified:
branches/1.4/kernel/wct4xxp/base.c
Modified: branches/1.4/kernel/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/wct4xxp/base.c?view=diff&rev=4230&r1=4229&r2=4230
==============================================================================
--- branches/1.4/kernel/wct4xxp/base.c (original)
+++ branches/1.4/kernel/wct4xxp/base.c Fri May 2 14:43:44 2008
@@ -3740,8 +3740,8 @@
/* Turn off DMA, leave interrupts enabled */
set_bit(T4_STOP_DMA, &wc->checkflag);
- current->state = TASK_UNINTERRUPTIBLE;
- schedule_timeout((25 * HZ) / 1000);
+ /* Wait for interrupts to stop */
+ msleep(25);
/* Turn off counter, address, etc */
if (wc->tspans[0]->spanflags & FLAG_2NDGEN) {
More information about the svn-commits
mailing list