[svn-commits] sruffell: linux/trunk r8376 - /linux/trunk/drivers/dahdi/wctdm24xxp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Mar 22 04:20:48 CDT 2010
Author: sruffell
Date: Mon Mar 22 04:20:44 2010
New Revision: 8376
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8376
Log:
wctdm24xxp: Make sure we're really stopped before deleting the channels.
Modified:
linux/trunk/drivers/dahdi/wctdm24xxp/base.c
Modified: linux/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=8376&r1=8375&r2=8376
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Mon Mar 22 04:20:44 2010
@@ -4152,6 +4152,8 @@
struct sframe_packet *frame;
LIST_HEAD(local_list);
+ voicebus_release(&wc->vb);
+
for (i = 0; i < ARRAY_SIZE(wc->spans); ++i) {
if (wc->spans[i] && wc->spans[i]->span.chans)
kfree(wc->spans[i]->span.chans);
@@ -4164,8 +4166,6 @@
kfree(wc->chans[i]);
wc->chans[i] = NULL;
}
-
- voicebus_release(&wc->vb);
spin_lock_irqsave(&wc->frame_list_lock, flags);
list_splice(&wc->frame_list, &local_list);
More information about the svn-commits
mailing list