Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
  2. index 92606b1e55bd..e883fa1d0b24 100644
  3. --- a/drivers/tty/serial/imx.c
  4. +++ b/drivers/tty/serial/imx.c
  5. @@ -1278,7 +1278,9 @@ static int imx_startup(struct uart_port *port)
  6. writel(temp & ~UCR4_DREN, sport->port.membase + UCR4);
  7.  
  8. /* Can we enable the DMA support? */
  9. - if (!uart_console(port) && !sport->dma_is_inited)
  10. + if (!uart_console(port) &&
  11. + !sport->dma_is_inited &&
  12. + !sport->port.flags == UPF_LOW_LATENCY)
  13. imx_uart_dma_init(sport);
  14.  
  15. spin_lock_irqsave(&sport->port.lock, flags);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement