imx6: disable UART dma
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Mon, 29 May 2017 09:58:01 +0000 (11:58 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 31 May 2017 06:45:26 +0000 (08:45 +0200)
commit3b4241071dd42e966bc4f120c91b55b4d377865c
tree9fac0039cbde7120b3ef385469d324d071c711ad
parentacd8649b18d8946f06b7c5ee863c43db8a65c8d5
imx6: disable UART dma

Fixes these prints on boot:

[   13.785600] imx-uart 2020000.serial: DMA transaction error.
[   13.793134] imx-uart 2020000.serial: DMA transaction error.
[   13.798721] imx-uart 2020000.serial: DMA transaction error.

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.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
target/linux/imx6/patches-4.9/210-disable-uart-dma.patch [new file with mode: 0644]