rtc: at91rm9200: double locking bug in at91_rtc_interrupt()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Mar 2015 15:38:10 +0000 (16:38 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 00:58:16 +0000 (01:58 +0100)
commit886016835a87757839baced91a7ff09e9636b6b1
tree430dea28be0275383561bc6c25ac1db16dfec4cb
parent06e5801b8cb3fc057d88cb4dc03c0b64b2744cda
rtc: at91rm9200: double locking bug in at91_rtc_interrupt()

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>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: David Dueck <davidcdueck@googlemail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/rtc/rtc-at91rm9200.c