Thread (5 messages) 5 messages, 3 authors, 2021-10-18

Re: [PATCH] uartlite: Update the default for the parameter

From: Michal Simek <hidden>
Date: 2021-10-18 08:27:51


On 10/18/21 10:20, Shubhrajyoti Datta wrote:
quoted hunk ↗ jump to hunk
Update the default number of uarts.
The commit b44b96a060f3 changed the default from 16 to 1 change it back to 16.

Fixes: b44b96a060f3 (uartlite: Adding a kernel parameter for the number of uartlites)

Signed-off-by: Shubhrajyoti Datta <redacted>
---
  drivers/tty/serial/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
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.
Reviewed-by: Michal Simek <redacted>

Thanks,
Michal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help