Skip to content

Commit 8178eeb

Browse files
saschahauergregkh
authored andcommitted
serial: imx: remove log spamming error message
Each time the DMA engine signals a transaction error the driver prints a message at error level. Getting transaction errors is pretty much expected on baudrate mismatches and the correspoding error counters are increased in this case properly. Remove the error message which is possibly repeated at a very high rate which can lock up the whole system. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 61c0e37 commit 8178eeb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/tty/serial/imx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,6 @@ static void imx_uart_clear_rx_errors(struct imx_port *sport)
11651165
sport->port.icount.buf_overrun++;
11661166
tty_flip_buffer_push(port);
11671167
} else {
1168-
dev_err(sport->port.dev, "DMA transaction error.\n");
11691168
if (usr1 & USR1_FRAMERR) {
11701169
sport->port.icount.frame++;
11711170
imx_uart_writel(sport, USR1_FRAMERR, USR1);

0 commit comments

Comments
 (0)