Skip to contentSkip to conversation

ARM: sa1100: collie: clear PWER register on machine init

PATCH New Dmitry Eremin-Solenikov 1 participant 1 message Dec 23, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: sa1100: collie: clear PWER register on machine init

Let kernel drivers to control wakeup sources instead of hardcoding them in the collie.c board file.

---
 arch/arm/mach-sa1100/collie.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach-sa1100/collie.c +1 -2
index 743a428..d139cf4 100644
@@ -469,8 +469,7 @@ static void __init collie_init(void)
 		PPC_LDD6 | PPC_LDD7 | PPC_L_PCLK | PPC_L_LCLK | PPC_L_FCLK | PPC_L_BIAS |
 		PPC_TXD1 | PPC_TXD2 | PPC_TXD3 | PPC_TXD4 | PPC_SCLK | PPC_SFRM;
 
-	PWER = _COLLIE_GPIO_AC_IN | _COLLIE_GPIO_CO | _COLLIE_GPIO_ON_KEY |
-		_COLLIE_GPIO_WAKEUP | _COLLIE_GPIO_nREMOCON_INT | PWER_RTC;
+	PWER = 0;
 
 	PGSR = _COLLIE_GPIO_nREMOCON_ON;
 
Signature · 1 line
2.1.3