diff options
author | Sebastian Reichel <sre@kernel.org> | 2017-03-28 17:59:30 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2017-04-12 22:12:16 +0200 |
commit | 2f09276769a1f9c515e7767284fb188198ddfed7 (patch) | |
tree | 1cfeb56dc861baa3bd89b1ad56d3255905f57333 /drivers/tty | |
parent | 258695222bdb89071aebe60554f5246927817a89 (diff) | |
download | op-kernel-dev-2f09276769a1f9c515e7767284fb188198ddfed7.zip op-kernel-dev-2f09276769a1f9c515e7767284fb188198ddfed7.tar.gz |
tty: serial: omap: add UPF_BOOT_AUTOCONF flag for DT init
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/omap-serial.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 6c6f82a..a473464 100644 --- 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; } |