diff mbox series

[v2] uartlite: Update the default for the SERIAL_UARTLITE_NR_UARTS

Message ID 20211117051635.1316958-1-shubhrajyoti.datta@xilinx.com
State New
Headers show
Series [v2] uartlite: Update the default for the SERIAL_UARTLITE_NR_UARTS | expand

Commit Message

Shubhrajyoti Datta Nov. 17, 2021, 5:16 a.m. UTC
The commit b44b96a060f3((uartlite: Adding a kernel parameter for the number of uartlites)
states 
"The uartlite is used by FPGAs that support a basically unlimited number
of uarts so limiting it at 16 dosn't make sense as users might need more
than that."
the commit also said that number should be unlimited. However it set the
default to 1 instead of 16.The original 16 written in driver should be
 quite reasonable default to cover most of the cases.

So change the default number of uarts back to 16.

Fixes: b44b96a060f3 (uartlite: Adding a kernel parameter for the number of uartlites)
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Cc: Sam Povilus <kernel.development@povil.us>
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
---
v2: Update the commit message.

 drivers/tty/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 131a6a587acd..1254b523ca9a 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -531,7 +531,7 @@  config SERIAL_UARTLITE_NR_UARTS
 	int "Maximum number of uartlite serial ports"
 	depends on SERIAL_UARTLITE
 	range 1 256
-	default 1
+	default 16
 	help
 	  Set this to the number of uartlites in your system, or the number
 	  you think you might implement.