Skip to contentSkip to conversation

rtc: at91rm9200: Fix locking in interrupt handler

PATCH In review David Dueck 2 participants 2 messages Mar 15, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: at91rm9200: Fix locking in interrupt handler

---
 drivers/rtc/rtc-at91rm9200.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-at91rm9200.c +1 -1
index b4f7744..b283a1a 100644
@@ -324,7 +324,7 @@ static irqreturn_t at91_rtc_interrupt(int irq, void *dev_id)
 
 		ret = IRQ_HANDLED;
 	}
-	spin_lock(&suspended_lock);
+	spin_unlock(&suspended_lock);
 
 	return ret;
 }
Signature · 1 line
2.3.0