aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/patches-4.9/210-disable-uart-dma.patch
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2018-02-15 08:34:38 -0800
committerJohn Crispin <john@phrozen.org>2018-02-19 09:32:43 +0100
commit1188f35a986a78475819bc5550a8a7bc2d21b16c (patch)
tree8e3b4d4053cce50aa749e43228709f83ef431e13 /target/linux/imx6/patches-4.9/210-disable-uart-dma.patch
parent8f9668f46c8ab8f9020d83ded7a4007779904b52 (diff)
downloadupstream-1188f35a986a78475819bc5550a8a7bc2d21b16c.tar.gz
upstream-1188f35a986a78475819bc5550a8a7bc2d21b16c.tar.bz2
upstream-1188f35a986a78475819bc5550a8a7bc2d21b16c.zip
imx6: remove support for 4.9
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/imx6/patches-4.9/210-disable-uart-dma.patch')
-rw-r--r--target/linux/imx6/patches-4.9/210-disable-uart-dma.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/imx6/patches-4.9/210-disable-uart-dma.patch b/target/linux/imx6/patches-4.9/210-disable-uart-dma.patch
deleted file mode 100644
index 6abbb93301..0000000000
--- a/target/linux/imx6/patches-4.9/210-disable-uart-dma.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Based on following upstream patch by Tim Harvey (Gateworks):
-
-https://github.com/Gateworks/openwrt/commit/80a01b6582f94c4547f39d3a25e0a1e9b6eb9877
-
-TX complete DMA messages are getting missed.
-This is also currently an issue in mainline.
-For now we will disable DMA in serial/imx.c.
-
-This resolves an issue encountered with RS485 transmit.
-
---- a/drivers/tty/serial/imx.c
-+++ b/drivers/tty/serial/imx.c
-@@ -1268,10 +1268,6 @@ static int imx_startup(struct uart_port
-
- writel(temp & ~UCR4_DREN, sport->port.membase + UCR4);
-
-- /* Can we enable the DMA support? */
-- if (!uart_console(port) && !sport->dma_is_inited)
-- imx_uart_dma_init(sport);
--
- spin_lock_irqsave(&sport->port.lock, flags);
- /* Reset fifo's and state machines */
- i = 100;