Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sascha Hauer and committed by
Greg Kroah-Hartman
8178eeb3 61c0e379

-1
-1
drivers/tty/serial/imx.c
··· 1165 1165 sport->port.icount.buf_overrun++; 1166 1166 tty_flip_buffer_push(port); 1167 1167 } else { 1168 - dev_err(sport->port.dev, "DMA transaction error.\n"); 1169 1168 if (usr1 & USR1_FRAMERR) { 1170 1169 sport->port.icount.frame++; 1171 1170 imx_uart_writel(sport, USR1_FRAMERR, USR1);