]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
tty: serial: samsung_tty: support 18 uart ports
authorFaraz Ata <faraz.ata@samsung.com>
Tue, 29 Apr 2025 10:29:41 +0000 (15:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 May 2025 15:20:27 +0000 (17:20 +0200)
ExynosAutov920 SoC supports 18 UART ports, update
the value of UART_NR to accommodate the same.

Signed-off-by: Faraz Ata <faraz.ata@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250429102941.4138463-1-faraz.ata@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung_tty.c

index 73e2866febc193473e7f70daf30e9cc76edfbc7c..2fb58c626daf354616a7ff96298099e92ea20533 100644 (file)
@@ -52,7 +52,7 @@
 #define S3C24XX_SERIAL_MINOR   64
 
 #ifdef CONFIG_ARM64
-#define UART_NR                        12
+#define UART_NR                        18
 #else
 #define UART_NR                        CONFIG_SERIAL_SAMSUNG_UARTS
 #endif