From: Joel A Fernandes <agnel.joel@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] linux-omap: Disable UART sleep timeout to avoid serial port problems on wakeup.
Date: Thu, 23 Jun 2011 00:04:40 -0500 [thread overview]
Message-ID: <4E02C968.9010308@gmail.com> (raw)
linux-omap: Disable UART sleep timeout to avoid serial port problems on wakeup.
Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
---
...0046-ARM-OMAP-beagle-disable-uart-timeout.patch | 21 ++++++++++++++++++++
recipes/linux/linux-omap-psp_2.6.32.bb | 1 +
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/recipes/linux/linux-omap-psp-2.6.32/0046-ARM-OMAP-beagle-disable-uart-timeout.patch b/recipes/linux/linux-omap-psp-2.6.32/0046-ARM-OMAP-beagle-disable-uart-timeout.patch
new file mode 100644
index 0000000..b0c0d0b
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/0046-ARM-OMAP-beagle-disable-uart-timeout.patch
@@ -0,0 +1,21 @@
+commit 06a8d6478752403a617ed9fb9f6b78c31ad25020
+Author: Joel A Fernandes <agnel.joel@gmail.com>
+Date: Tue Jun 21 17:31:13 2011 -0500
+
+ omap: Disable UART sleep timeout to avoid serial port problems on wakeup.
+
+ Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
+
+diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
+index 19805a7..35a24af 100644
+--- a/arch/arm/mach-omap2/serial.c
++++ b/arch/arm/mach-omap2/serial.c
+@@ -36,7 +36,7 @@
+ #define UART_OMAP_NO_EMPTY_FIFO_READ_IP_REV 0x52
+ #define UART_OMAP_WER 0x17 /* Wake-up enable register */
+
+-#define DEFAULT_TIMEOUT (5 * HZ)
++#define DEFAULT_TIMEOUT 0
+
+ struct omap_uart_state {
+ int num;
diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb b/recipes/linux/linux-omap-psp_2.6.32.bb
index da2e943..11e1f06 100644
--- a/recipes/linux/linux-omap-psp_2.6.32.bb
+++ b/recipes/linux/linux-omap-psp_2.6.32.bb
@@ -58,6 +58,7 @@ SRC_URI = "git://arago-project.org/git/projects/linux-omap3.git;protocol=http;br
file://0043-MTD-silence-ecc-errors-on-mtdblock0.patch \
file://0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch \
file://0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch \
+ file://0046-ARM-OMAP-beagle-disable-uart-timeout.patch \
file://cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch \
file://cam/0002-mt9t111-Fix-all-checkpatch-errors.patch \
file://cam/0003-mt9t111-Pass-v4l2_int_device-data.patch \
reply other threads:[~2011-06-23 5:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4E02C968.9010308@gmail.com \
--to=agnel.joel@gmail.com \
--cc=openembedded-devel@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.