All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] rtc: at91rm9200: double locking bug in at91_rtc_interrupt()
@ 2015-03-15 10:48 Dan Carpenter
  2015-03-15 11:01 ` Boris Brezillon
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Dan Carpenter @ 2015-03-15 10:48 UTC (permalink / raw)
  To: kernel-janitors

There is a typo here so we deadlock.

Fixes: dd1f1f391dd7 ('rtc: at91rm9200: rework wakeup and interrupt handling')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c
index b4f7744..b283a1a 100644
--- a/drivers/rtc/rtc-at91rm9200.c
+++ b/drivers/rtc/rtc-at91rm9200.c
@@ -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;
 }

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-03-18  1:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-15 10:48 [patch] rtc: at91rm9200: double locking bug in at91_rtc_interrupt() Dan Carpenter
2015-03-15 11:01 ` Boris Brezillon
2015-03-17 15:38 ` [PATCH] " Nicolas Ferre
2015-03-17 15:38   ` Nicolas Ferre
2015-03-17 15:38   ` Nicolas Ferre
2015-03-17 17:32   ` Dan Carpenter
2015-03-17 17:32     ` Dan Carpenter
2015-03-17 17:32     ` Dan Carpenter
2015-03-18  0:56   ` Rafael J. Wysocki
2015-03-18  1:20     ` Rafael J. Wysocki
2015-03-18  1:20     ` Rafael J. Wysocki
2015-03-17 15:39 ` [patch] " Nicolas Ferre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.