projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f276f
)
serial/8250: Copy RS485 fields to serial_core
author
Ricardo Ribalda Delgado
<
[email protected]
>
Thu, 6 Nov 2014 08:22:51 +0000
(09:22 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Thu, 6 Nov 2014 22:59:21 +0000
(14:59 -0800)
Initialize recently added rs485 fields on serial_core
Reviewed-by: Alan Cox <
[email protected]
>
Cc: Jiri Slaby <
[email protected]
>
Cc: Sebastian Andrzej Siewior <
[email protected]
>
Cc: Alan Cox <
[email protected]
>
Cc: Tony Lindgren <
[email protected]
>
Cc: Peter Hurley <
[email protected]
>
Cc: Yoshihiro YUNOMAE <
[email protected]
>
Cc: Andy Shevchenko <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Signed-off-by: Ricardo Ribalda Delgado <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/tty/serial/8250/8250_core.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/8250/8250_core.c
b/drivers/tty/serial/8250/8250_core.c
index 25eb8e93615d35b63f09fd4a7e17a79ee141c46e..3f2c6576ab4ee6f1b25b7eba47cf0d5cffa0f332 100644
(file)
--- a/
drivers/tty/serial/8250/8250_core.c
+++ b/
drivers/tty/serial/8250/8250_core.c
@@
-3619,6
+3619,8
@@
int serial8250_register_8250_port(struct uart_8250_port *up)
uart->rs485 = up->rs485;
uart->port.throttle = up->port.throttle;
uart->port.unthrottle = up->port.unthrottle;
+ uart->port.rs485_config = up->port.rs485_config;
+ uart->port.rs485 = up->port.rs485;
/* Take tx_loadsz from fifosize if it wasn't set separately */
if (uart->port.fifosize && !uart->tx_loadsz)