Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51b31f1c authored by Yoshihiro Kaneko's avatar Yoshihiro Kaneko Committed by Greg Kroah-Hartman
Browse files

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: default avatarYoshihiro Kaneko <ykaneko0929@gmail.com>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9119fba0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -858,7 +858,7 @@ static int sci_handle_fifo_overrun(struct uart_port *port)
		tty_insert_flip_char(tport, 0, TTY_OVERRUN);
		tty_insert_flip_char(tport, 0, TTY_OVERRUN);
		tty_flip_buffer_push(tport);
		tty_flip_buffer_push(tport);


		dev_notice(port->dev, "overrun error\n");
		dev_dbg(port->dev, "overrun error\n");
		copied++;
		copied++;
	}
	}