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:
2586952
)
tty: serial: omap: add UPF_BOOT_AUTOCONF flag for DT init
author
Sebastian Reichel
<sre@kernel.org>
Tue, 28 Mar 2017 15:59:30 +0000
(17:59 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 12 Apr 2017 20:12:16 +0000
(22:12 +0200)
The UPF_BOOT_AUTOCONF flag is needed for proper
flow control support.
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/tty/serial/omap-serial.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/omap-serial.c
b/drivers/tty/serial/omap-serial.c
index 6c6f82ad8d5cb63982fc35c9047e64a8a18135a0..a4734649a0f0f8b0ea3de17c5c26c3a2acc54c19 100644
(file)
--- a/
drivers/tty/serial/omap-serial.c
+++ b/
drivers/tty/serial/omap-serial.c
@@
-1597,6
+1597,9
@@
static struct omap_uart_port_info *of_get_uart_port_info(struct device *dev)
of_property_read_u32(dev->of_node, "clock-frequency",
&omap_up_info->uartclk);
+
+ omap_up_info->flags = UPF_BOOT_AUTOCONF;
+
return omap_up_info;
}