From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: amazingfate Date: Mon, 16 Oct 2023 13:32:58 +0800 Subject: tty: serial: qcom-geni: fix zero dma-rx-len-in --- drivers/tty/serial/qcom_geni_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index 67484c062edd..ca50417f41db 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -821,7 +821,7 @@ static void qcom_geni_serial_handle_rx_dma(struct uart_port *uport, bool drop) rx_in = readl(uport->membase + SE_DMA_RX_LEN_IN); if (!rx_in) { dev_warn(uport->dev, "serial engine reports 0 RX bytes in!\n"); - return; + //return; } if (!drop) -- Armbian