Thread (4 messages) 4 messages, 2 authors, 2017-02-21

Re: [PATCH] tty/serial: atmel: increase ATMEL_MAX_UART

From: Richard Genoud <hidden>
Date: 2017-02-21 12:46:51
Also in: linux-arm-kernel, lkml

2017-02-21 13:03 GMT+01:00 Alexandre Belloni
[off-list ref]:
The samx7 family uses the same UART/USART IP as the at91/sama5 families but
has 8 of those.

Suggested-by: Szemző András <redacted>
Signed-off-by: Alexandre Belloni <redacted>
Acked-by: Richard Genoud <redacted>
quoted hunk ↗ jump to hunk
---
 drivers/tty/serial/atmel_serial.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c
index f0d4894267c2..8cc152e67bfb 100644
--- a/drivers/tty/serial/atmel_serial.c
+++ b/drivers/tty/serial/atmel_serial.c
@@ -119,8 +119,9 @@ struct atmel_uart_char {
 /*
  * at91: 6 USARTs and one DBGU port (SAM9260)
  * avr32: 4
+ * samx7: 3 USARTs and 5 UARTs
  */
-#define ATMEL_MAX_UART         7
+#define ATMEL_MAX_UART         8

 /*
  * We wrap our port structure around the generic uart_port.
--
2.11.0
Thanks !
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help