aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/pch_uart.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-22 16:42:19 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-22 16:42:19 -0500
commit4fbd269f1f9f8020dd9474b60e55c4f34d267b08 (patch)
tree61f6b7e35ea8f427f0c2c5c6e5f5e3244c311818 /drivers/tty/serial/pch_uart.c
parent8bc661bfc0c2d221e209f4205bdaaf574d50100c (diff)
parent39669f3ae1d8a82d407a00e9e0058050997328da (diff)
Merge branch 'fixes' into tty-next
This was a "forgotten" branch of tty fixes that somehow didn't make it into my "main" branches, my fault. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/pch_uart.c')
-rw-r--r--drivers/tty/serial/pch_uart.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index 9cbd3acaf37f..8fa1134e0051 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -1508,10 +1508,14 @@ static int pch_uart_verify_port(struct uart_port *port,
1508 __func__); 1508 __func__);
1509 return -EOPNOTSUPP; 1509 return -EOPNOTSUPP;
1510#endif 1510#endif
1511 dev_info(priv->port.dev, "PCH UART : Use DMA Mode\n"); 1511 if (!priv->use_dma) {
1512 if (!priv->use_dma)
1513 pch_request_dma(port); 1512 pch_request_dma(port);
1514 priv->use_dma = 1; 1513 if (priv->chan_rx)
1514 priv->use_dma = 1;
1515 }
1516 dev_info(priv->port.dev, "PCH UART: %s\n",
1517 priv->use_dma ?
1518 "Use DMA Mode" : "No DMA");
1515 } 1519 }
1516 1520
1517 return 0; 1521 return 0;