diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-11-21 23:32:04 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-22 01:42:27 +0100 |
commit | 51a0d036f995585e8c5c30797d5bce28645d9dd7 (patch) | |
tree | 495840007f4eb4b9ef5bcd6e879257192cd1076d /block/partitions/efi.c | |
parent | mm: hugetlbfs: fix hugetlbfs optimization (diff) | |
download | linux-51a0d036f995585e8c5c30797d5bce28645d9dd7.tar.xz linux-51a0d036f995585e8c5c30797d5bce28645d9dd7.zip |
ARM: drivers/rtc/rtc-at91rm9200.c: disable interrupts at shutdown
Make sure RTC-interrupts are disabled at shutdown.
As the RTC is generally powered by backup power (VDDBU), its interrupts
are not disabled on wake-up, user, watchdog or software reset. This
could cause troubles on other systems (e.g. older kernels) if an
interrupt occurs before a handler has been installed at next boot.
Let us be well-behaved and disable them on clean shutdowns at least (as
do the RTT-based rtc-at91sam9 driver).
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Andrew Victor <linux@maxim.org.za>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions