From 0a8bec923bb87d5ed4af94298bf14ec91ace847a Mon Sep 17 00:00:00 2001 From: Mukesh Kumar Savaliya Date: Sat, 29 Aug 2020 13:49:06 +0530 Subject: [PATCH] serial: msm_geni_serial: Reduce nos HSUART port supported Currently UART serial driver allocates totally 15 HSUART ports which is very high and results in unwanted memory and allocation process. As of now overall HSUART usecases are limited to Max 3 at a time, hence keep the ports minimally meeting the usecase requirements. Change-Id: I4979084dc6ada7a904b3f14c1ee175b78e98b780 Signed-off-by: Mukesh Kumar Savaliya --- drivers/tty/serial/msm_geni_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/msm_geni_serial.c b/drivers/tty/serial/msm_geni_serial.c index 4ed4f299eb80..52189f71899b 100644 --- a/drivers/tty/serial/msm_geni_serial.c +++ b/drivers/tty/serial/msm_geni_serial.c @@ -102,7 +102,7 @@ #define UART_OVERSAMPLING (32) #define STALE_TIMEOUT (16) #define DEFAULT_BITS_PER_CHAR (10) -#define GENI_UART_NR_PORTS (15) +#define GENI_UART_NR_PORTS (6) #define GENI_UART_CONS_PORTS (1) #define DEF_FIFO_DEPTH_WORDS (16) #define DEF_TX_WM (2)