summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.24/1046-s3c2410_serial-nodebug.patch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1046-s3c2410_serial-nodebug.patch.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1046-s3c2410_serial-nodebug.patch.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1046-s3c2410_serial-nodebug.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1046-s3c2410_serial-nodebug.patch.patch
new file mode 100644
index 0000000..0c56f4c
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.24/1046-s3c2410_serial-nodebug.patch.patch
@@ -0,0 +1,40 @@
+From b2b07b5cf12c430ad74b44602b098e7b711a2b72 Mon Sep 17 00:00:00 2001
+From: mokopatches <mokopatches@openmoko.org>
+Date: Sun, 13 Apr 2008 07:23:48 +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 e773c8e..6c93a1b 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.5
+