[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1426416887-3450-1-git-send-email-davidcdueck@googlemail.com>
Date: Sun, 15 Mar 2015 11:54:47 +0100
From: David Dueck <davidcdueck@...glemail.com>
To: linux-arm-kernel@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, boris.brezillon@...e-electrons.com,
alexandre.belloni@...e-electrons.com, a.zummo@...ertech.it,
rtc-linux@...glegroups.com, nicolas.ferre@...el.com
Subject: [PATCH] rtc: at91rm9200: Fix locking in interrupt handler
Signed-off-by: David Dueck <davidcdueck@...glemail.com>
---
drivers/rtc/rtc-at91rm9200.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
--
2.3.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists