summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2016-09-13 14:43:02 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2020-10-12 21:55:54 +0100
commit71413bb976cea742def2731cbb0e6ac75e8ffcc8 (patch)
tree94fc11913c3eb68604c64338c39fa4538b53abb7
parent5312c9d4f397dfe21173714d95ac8e63e5823463 (diff)
ARM: sa1100/badge4: remove PWER RTC initialisation
When the RTC driver initialises, it automatically enables RTC wakeup, so explicitly initialising PWER for RTC wakeup is redundant. In any case, the conversion of the SA1100 GPIOs to gpiolib has made this setting ineffectual. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
-rw-r--r--arch/arm/mach-sa1100/badge4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/badge4.c b/arch/arm/mach-sa1100/badge4.c
index bf54ea146062..059b849fe9a8 100644
--- a/arch/arm/mach-sa1100/badge4.c
+++ b/arch/arm/mach-sa1100/badge4.c
@@ -228,7 +228,6 @@ static int __init badge4_init(void)
PSDR = 0;
PWER |= PWER_GPIO26; /* wake up on an edge from TESTPT_J5 */
- PWER |= PWER_RTC; /* wake up if rtc fires */
/* drive sa1111_nrst during sleep */
PGSR |= BADGE4_GPIO_SA1111_NRST;