diff options
author | Yoshihiro Kaneko <ykaneko0929@gmail.com> | 2015-01-26 20:53:29 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-02 10:11:26 -0800 |
commit | 51b31f1c6bbb3e741c930a71af8f0bcd4e5d4ded (patch) | |
tree | 94eedc3efce4d64b24fbaeb1291ceb335ce29933 /drivers/tty | |
parent | 9119fba0cfeda6d415c9f068df66838a104b87cb (diff) | |
download | op-kernel-dev-51b31f1c6bbb3e741c930a71af8f0bcd4e5d4ded.zip op-kernel-dev-51b31f1c6bbb3e741c930a71af8f0bcd4e5d4ded.tar.gz |
serial: sh-sci: Use dev_dbg() to log an error message
Since the driver cannot return from overrun error if characters
are output during overrun process, use dev_dbg() instead of
dev_notice() to log the error message of overrun in syslog.
Based on a patch by Hisashi Nakamura.
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/sh-sci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 4f784f8..508bdb5 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -858,7 +858,7 @@ static int sci_handle_fifo_overrun(struct uart_port *port) tty_insert_flip_char(tport, 0, TTY_OVERRUN); tty_flip_buffer_push(tport); - dev_notice(port->dev, "overrun error\n"); + dev_dbg(port->dev, "overrun error\n"); copied++; } |