From: festevam@gmail.com (Fabio Estevam)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: mach-mx27_3ds: Allow UART to be a source for wakeup.
Date: Fri, 9 Dec 2011 10:42:21 -0200 [thread overview]
Message-ID: <1323434541-27689-2-git-send-email-festevam@gmail.com> (raw)
In-Reply-To: <1323434541-27689-1-git-send-email-festevam@gmail.com>
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@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
next prev parent reply other threads:[~2011-12-09 12:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-09 12:42 [PATCH 1/2] tty: serial: imx: Allow UART to be a source for wakeup Fabio Estevam
2011-12-09 12:42 ` Fabio Estevam [this message]
2011-12-09 13:12 ` [PATCH v2 " Fabio Estevam
2011-12-09 15:55 ` [PATCH v3 " Fabio Estevam
2011-12-09 18:41 ` [PATCH v4] " Fabio Estevam
2011-12-11 6:01 ` Shawn Guo
2011-12-12 18:17 ` Fabio Estevam
2011-12-13 3:17 ` Shawn Guo
2011-12-13 3:23 ` [PATCH v5] " Fabio Estevam
2011-12-14 0:44 ` Richard Zhao
2011-12-26 1:53 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1323434541-27689-2-git-send-email-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).