[PATCH 2/2] ARM: mach-mx27_3ds: Allow UART to be a source for wakeup.

Fabio Estevam festevam at gmail.com
Fri Dec 9 07:42:21 EST 2011


Allow UART to be a source for wakeup.

Tested by doing:

echo mem > /sys/power/state

and then pressing a key in the console will wakeup the sytem.

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 arch/arm/mach-imx/mach-mx27_3ds.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c
index ba232d7..ee57521 100644
--- a/arch/arm/mach-imx/mach-mx27_3ds.c
+++ b/arch/arm/mach-imx/mach-mx27_3ds.c
@@ -144,7 +144,7 @@ static const int mx27pdk_pins[] __initconst = {
 };
 
 static const struct imxuart_platform_data uart_pdata __initconst = {
-	.flags = IMXUART_HAVE_RTSCTS,
+	.flags = IMXUART_HAVE_RTSCTS | IMXUART_CANWAKE,
 };
 
 /*
-- 
1.7.1




More information about the linux-arm-kernel mailing list