diff options
Diffstat (limited to 'drivers/tty/serial/pch_uart.c')
-rw-r--r-- | drivers/tty/serial/pch_uart.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c index bbbec4a74cfb..c2816f494807 100644 --- a/drivers/tty/serial/pch_uart.c +++ b/drivers/tty/serial/pch_uart.c | |||
@@ -1447,9 +1447,11 @@ static int pch_uart_verify_port(struct uart_port *port, | |||
1447 | __func__); | 1447 | __func__); |
1448 | return -EOPNOTSUPP; | 1448 | return -EOPNOTSUPP; |
1449 | #endif | 1449 | #endif |
1450 | priv->use_dma = 1; | ||
1451 | priv->use_dma_flag = 1; | 1450 | priv->use_dma_flag = 1; |
1452 | dev_info(priv->port.dev, "PCH UART : Use DMA Mode\n"); | 1451 | dev_info(priv->port.dev, "PCH UART : Use DMA Mode\n"); |
1452 | if (!priv->use_dma) | ||
1453 | pch_request_dma(port); | ||
1454 | priv->use_dma = 1; | ||
1453 | } | 1455 | } |
1454 | 1456 | ||
1455 | return 0; | 1457 | return 0; |