serial: 8250_omap: Remove rx_dma_broken flag
authorVignesh R <vigneshr@ti.com>
Fri, 20 Jan 2017 08:16:54 +0000 (13:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jan 2017 13:44:37 +0000 (14:44 +0100)
8250 UART DMA support was marked broken by default as it was not
possible to pause ongoing RX DMA transfer. Now that both SDMA and
EDMA can support pause operation for RX DMA transactions, don't set
rx_dma_broken to true by default. With this patch 8250_omap driver will
use DMA by default.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c

index 97766dcd67d4ff71c5a506675f7fb86a7cdee1c5..68a6393d963665f2d1f1a96e321acd36f4e9777f 100644 (file)
@@ -1221,11 +1221,6 @@ static int omap8250_probe(struct platform_device *pdev)
                        priv->omap8250_dma.rx_size = RX_TRIGGER;
                        priv->omap8250_dma.rxconf.src_maxburst = RX_TRIGGER;
                        priv->omap8250_dma.txconf.dst_maxburst = TX_TRIGGER;
-                       /*
-                        * pause is currently not supported atleast on omap-sdma
-                        * and edma on most earlier kernels.
-                        */
-                       priv->rx_dma_broken = true;
                }
        }
 #endif