lkml.org 
[lkml]   [2023]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] serial: sprd: Support 12 uart ports
Date
From: Wenhua Lin <wenhua.lin@unisoc.com>

Support 12 uart ports, which can solve the problem
of insufficient uart ports.

Signed-off-by: Wenhua Lin <wenhua.lin@unisoc.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
\
 
 \ /
  Last update: 2023-08-07 10:09    [W:6.879 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site