mirror of
https://github.com/armbian/build.git
synced 2025-09-19 20:51:12 +02:00
26 lines
819 B
Diff
26 lines
819 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: amazingfate <liujianfeng1994@gmail.com>
|
|
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 7e78f97e8f43..6ea1a4f8ba65 100644
|
|
--- a/drivers/tty/serial/qcom_geni_serial.c
|
|
+++ b/drivers/tty/serial/qcom_geni_serial.c
|
|
@@ -820,7 +820,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
|
|
|