Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1606031 > unrolled thread

[PATCHv2 04/11] tty: serial: omap: add UPF_BOOT_AUTOCONF flag for DT init

Started bySebastian Reichel <sre@kernel.org>
First post2017-03-21 23:40 +0100
Last post2017-03-22 10:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCHv2 04/11] tty: serial: omap: add UPF_BOOT_AUTOCONF flag for DT init Sebastian Reichel <sre@kernel.org> - 2017-03-21 23:40 +0100
    Re: [PATCHv2 04/11] tty: serial: omap: add UPF_BOOT_AUTOCONF flag  for DT init Pavel Machek <pavel@ucw.cz> - 2017-03-22 10:40 +0100

#1606031 — [PATCHv2 04/11] tty: serial: omap: add UPF_BOOT_AUTOCONF flag for DT init

FromSebastian Reichel <sre@kernel.org>
Date2017-03-21 23:40 +0100
Subject[PATCHv2 04/11] tty: serial: omap: add UPF_BOOT_AUTOCONF flag for DT init
Message-ID<tnABA-1iQ-5@gated-at.bofh.it>
The UPF_BOOT_AUTOCONF flag is needed for proper
flow control support.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
 drivers/tty/serial/omap-serial.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c
index 6c6f82ad8d5c..a4734649a0f0 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;
 }
 
-- 
2.11.0

[toc] | [next] | [standalone]


#1606313 — Re: [PATCHv2 04/11] tty: serial: omap: add UPF_BOOT_AUTOCONF flag for DT init

FromPavel Machek <pavel@ucw.cz>
Date2017-03-22 10:40 +0100
SubjectRe: [PATCHv2 04/11] tty: serial: omap: add UPF_BOOT_AUTOCONF flag for DT init
Message-ID<tnKUi-es-17@gated-at.bofh.it>
In reply to#1606031

[Multipart message — attachments visible in raw view] — view raw

On Tue 2017-03-21 23:32:09, Sebastian Reichel wrote:
> The UPF_BOOT_AUTOCONF flag is needed for proper
> flow control support.
> 
> Signed-off-by: Sebastian Reichel <sre@kernel.org>

Acked-by: Pavel Machek <pavel@ucw.cz>

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web