34 lines
1.1 KiB
Diff
Executable File
34 lines
1.1 KiB
Diff
Executable File
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
|
|
|