[svn-commits] sruffell: linux/trunk r7979 - /linux/trunk/drivers/dahdi/wctdm24xxp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Feb 3 15:37:59 CST 2010
Author: sruffell
Date: Wed Feb 3 15:37:54 2010
New Revision: 7979
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7979
Log:
wctdm24xxp: Cleanup after a failed call to dahdi_register.
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=7979&r1=7978&r2=7979
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Wed Feb 3 15:37:54 2010
@@ -3798,7 +3798,10 @@
/* We should be ready for DAHDI to come in now. */
if (dahdi_register(&wc->span, 0)) {
- printk(KERN_NOTICE "Unable to register span with DAHDI\n");
+ dev_info(&wc->vb.pdev->dev,
+ "Unable to register span with DAHDI\n");
+ voicebus_release(&wc->vb);
+ kfree(wc);
return -1;
}
More information about the svn-commits
mailing list