Message ID | 20170628135936.30537-1-romain.perier@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hello, On Wed, Jun 28, 2017 at 03:59:36PM +0200, Romain Perier wrote: > + temp |= UCR1_RRDYEN | UCR1_UARTEN; > + if (sport->have_rtscts) > + temp |= UCR1_RTSDEN; There is a tab too much. > writel(temp, sport->port.membase + UCR1); Other than that: Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 7327477..5437b34 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -1302,7 +1302,9 @@ static int imx_startup(struct uart_port *port) imx_enable_dma(sport); temp = readl(sport->port.membase + UCR1); - temp |= UCR1_RRDYEN | UCR1_RTSDEN | UCR1_UARTEN; + temp |= UCR1_RRDYEN | UCR1_UARTEN; + if (sport->have_rtscts) + temp |= UCR1_RTSDEN; writel(temp, sport->port.membase + UCR1);