aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches/0241-commit-830ea3d0c27c0c750b7bf1b56c002ee7943f3edc.patch
blob: 433bed3c1b14fd27dd9dff76bb6c6941e8d72cbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From b3159c23dcae773c116495431cca90aa923af918 Mon Sep 17 00:00:00 2001
From: Mike Westerhof <mwester@dls.net>
Date: Sun, 10 Aug 2008 09:13:09 +0100
Subject: [PATCH] commit 830ea3d0c27c0c750b7bf1b56c002ee7943f3edc

    gta0x-log-serial-rx-error.patch

    This patch causes a KERN_DEBUG message to be printed each time an
    error status is read from a UART.  This is intended to facilitate
    the reporting of more useful problem and bug reports from users
    in the field.

    Signed-off-by: Mike Westerhof <mwester@dls.net>
---
 drivers/serial/s3c2410.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c
index b4833bd..d0b55b1 100644
--- a/drivers/serial/s3c2410.c
+++ b/drivers/serial/s3c2410.c
@@ -357,7 +357,7 @@ s3c24xx_serial_rx_chars(int irq, void *dev_id)
 		port->icount.rx++;
 
 		if (unlikely(uerstat & S3C2410_UERSTAT_ANY)) {
-			dbg("rxerr: port ch=0x%02x, rxs=0x%08x\n",
+			printk(KERN_DEBUG "rxerr: port ch=0x%02x, rxs=0x%08x\n",
 			    ch, uerstat);
 
 			/* check for break */
-- 
1.5.6.3