serial: imx: remove log spamming error message [Linux 5.2]

serial: imx: remove log spamming error message [Linux 5.2]

This Linux kernel change "serial: imx: remove log spamming error message" is included in the Linux 5.2 release. This change is authored by Sascha Hauer <s.hauer [at]> on Fri May 17 12:01:38 2019 +0200. The commit for this change in Linux stable tree is 8178eeb (patch).

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

Signed-off-by: Sascha Hauer <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/tty/serial/imx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index dff75dc..8b752e8 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -1165,7 +1165,6 @@ static void imx_uart_clear_rx_errors(struct imx_port *sport)
    } else {
-       dev_err(sport->, "DMA transaction error.\n");
        if (usr1 & USR1_FRAMERR) {
            imx_uart_writel(sport, USR1_FRAMERR, USR1);

Leave a Reply

Your email address will not be published. Required fields are marked *