[dahdi-commits] sruffell: linux/trunk r5534 -	/linux/trunk/drivers/dahdi/wcte12xp/base.c
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Mon Dec 15 14:30:26 CST 2008
    
    
  
Author: sruffell
Date: Mon Dec 15 14:30:26 2008
New Revision: 5534
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5534
Log:
wcte12xp: do not release a spinlock that we did not acquire.
Modified:
    linux/trunk/drivers/dahdi/wcte12xp/base.c
Modified: linux/trunk/drivers/dahdi/wcte12xp/base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/wcte12xp/base.c?view=diff&rev=5534&r1=5533&r2=5534
==============================================================================
--- linux/trunk/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcte12xp/base.c Mon Dec 15 14:30:26 2008
@@ -225,8 +225,8 @@
 		}
 		if (inisr)
 			break;
-	
-		spin_unlock_irqrestore(&wc->reglock, flags);
+		else
+			spin_unlock_irqrestore(&wc->reglock, flags);
 		if (hit < 0) {
 			if ((ret = schluffen(&wc->regq)))
 				return ret;
    
    
More information about the dahdi-commits
mailing list