[svn-commits] sruffell: linux/trunk r7524 - /linux/trunk/drivers/dahdi/voicebus/voicebus.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Nov 6 18:35:52 CST 2009


Author: sruffell
Date: Fri Nov  6 18:35:45 2009
New Revision: 7524

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7524
Log:
voicebus: Be just a little more graceful if we cannot grab our interrupt line.

Modified:
    linux/trunk/drivers/dahdi/voicebus/voicebus.c

Modified: linux/trunk/drivers/dahdi/voicebus/voicebus.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/voicebus/voicebus.c?view=diff&rev=7524&r1=7523&r2=7524
==============================================================================
--- linux/trunk/drivers/dahdi/voicebus/voicebus.c (original)
+++ linux/trunk/drivers/dahdi/voicebus/voicebus.c Fri Nov  6 18:35:45 2009
@@ -1822,9 +1822,10 @@
 	vb_enable_io_access(vb);
 
 #if VOICEBUS_DEFERRED != TIMER
-	if (request_irq(pdev->irq, vb_isr, DAHDI_IRQ_SHARED, board_name,
-		vb)) {
-		BUG_ON(1);
+	retval = request_irq(pdev->irq, vb_isr, DAHDI_IRQ_SHARED,
+			     board_name, vb);
+	if (retval) {
+		dev_warn(&vb->pdev->dev, "Failed to request interrupt line.\n");
 		goto cleanup;
 	}
 #endif




More information about the svn-commits mailing list