[oe-commits] Joel A Fernandes : linux-omap: Disable UART sleep timeout to avoid serial port problems on wakeup.

git version control git at git.openembedded.org
Tue Jul 12 17:33:42 UTC 2011


Module: openembedded.git
Branch: 2011.03-maintenance
Commit: dcd268381153d05a6d1ebb0cb67a1ef19e99e572
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=dcd268381153d05a6d1ebb0cb67a1ef19e99e572

Author: Joel A Fernandes <agnel.joel at gmail.com>
Date:   Thu Jun 23 13:04:40 2011 +0000

linux-omap: Disable UART sleep timeout to avoid serial port problems on wakeup.

Signed-off-by: Joel A Fernandes <agnel.joel at gmail.com>
Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 ...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 at 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 at 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 9221813..a076bf1 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 \





More information about the Openembedded-commits mailing list