Skip to contentSkip to conversation

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

PATCH New Joel A Fernandes 1 participant 1 message Jun 23, 2011

lore
Share & tools
lore
#0 lore raw

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

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

---
 ...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(-)
recipes/linux/linux-omap-psp-2.6.32/0046-ARM-OMAP-beagle-disable-uart-timeout.patch new file +21 -0
new file mode 100644
index 0000000..b0c0d0b
@@ -0,0 +1,21 @@
+commit 06a8d6478752403a617ed9fb9f6b78c31ad25020
+Author: Joel A Fernandes <[email protected]>
+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 <[email protected]>
+
+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;
recipes/linux/linux-omap-psp_2.6.32.bb +1 -0
index da2e943..11e1f06 100644
@@ -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 \