[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230807080726.7190-1-Wenhua.Lin@unisoc.com>
Date: Mon, 7 Aug 2023 16:07:26 +0800
From: Wenhua Lin <Wenhua.Lin@...soc.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
Orson Zhai <orsonzhai@...il.com>,
Baolin Wang <baolin.wang@...ux.alibaba.com>,
Chunyan Zhang <zhang.lyra@...il.com>
CC: <linux-serial@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
wenhua lin <wenhua.lin1994@...il.com>,
Wenhua Lin <Wenhua.Lin@...soc.com>,
Xiongpeng Wu <xiongpeng.wu@...soc.com>
Subject: [PATCH] serial: sprd: Support 12 uart ports
From: Wenhua Lin <wenhua.lin@...soc.com>
Support 12 uart ports, which can solve the problem
of insufficient uart ports.
Signed-off-by: Wenhua Lin <wenhua.lin@...soc.com>
---
drivers/tty/serial/sprd_serial.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c
index b58f51296ace..2774df490899 100644
--- a/drivers/tty/serial/sprd_serial.c
+++ b/drivers/tty/serial/sprd_serial.c
@@ -22,7 +22,7 @@
#include <linux/tty_flip.h>
/* device name */
-#define UART_NR_MAX 8
+#define UART_NR_MAX 12
#define SPRD_TTY_NAME "ttyS"
#define SPRD_FIFO_SIZE 128
#define SPRD_DEF_RATE 26000000
--
2.17.1
Powered by blists - more mailing lists