summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.26/1039-s3c2410_serial-nodebug.patch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/1039-s3c2410_serial-nodebug.patch.patch')
-rwxr-xr-xtarget/linux/s3c24xx/patches-2.6.26/1039-s3c2410_serial-nodebug.patch.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/1039-s3c2410_serial-nodebug.patch.patch b/target/linux/s3c24xx/patches-2.6.26/1039-s3c2410_serial-nodebug.patch.patch
new file mode 100755
index 0000000..d8ee9a8
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.26/1039-s3c2410_serial-nodebug.patch.patch
@@ -0,0 +1,40 @@
+From 1611aca52fd831b0a90a854ef71f07ed341bd987 Mon Sep 17 00:00:00 2001
+From: mokopatches <mokopatches@openmoko.org>
+Date: Fri, 25 Jul 2008 22:21:03 +0100
+Subject: [PATCH] s3c2410_serial-nodebug.patch
+
+---
+ drivers/serial/s3c2410.c | 8 --------
+ 1 files changed, 0 insertions(+), 8 deletions(-)
+
+diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c
+index 2b6a013..7117110 100644
+--- a/drivers/serial/s3c2410.c
++++ b/drivers/serial/s3c2410.c
+@@ -708,10 +708,6 @@ static unsigned int s3c24xx_serial_getclk(struct uart_port *port,
+ int calc_deviation;
+
+ for (sptr = res; sptr < resptr; sptr++) {
+- printk(KERN_DEBUG
+- "found clk %p (%s) quot %d, calc %d\n",
+- sptr->clksrc, sptr->clksrc->name,
+- sptr->quot, sptr->calc);
+
+ calc_deviation = baud - sptr->calc;
+ if (calc_deviation < 0)
+@@ -723,12 +719,8 @@ static unsigned int s3c24xx_serial_getclk(struct uart_port *port,
+ }
+ }
+
+- printk(KERN_DEBUG "best %p (deviation %d)\n", best, deviation);
+ }
+
+- printk(KERN_DEBUG "selected clock %p (%s) quot %d, calc %d\n",
+- best->clksrc, best->clksrc->name, best->quot, best->calc);
+-
+ /* store results to pass back */
+
+ *clksrc = best->clksrc;
+--
+1.5.6.3
+