serial: imx: don't use idle condition detect for DMA transfers
authorLucas Stach <l.stach@pengutronix.de>
Fri, 4 Sep 2015 15:52:41 +0000 (17:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 17:43:06 +0000 (18:43 +0100)
commit905c0decad28402aa166975023fb88c8f62f93c8
tree28db898fa0944dd8f9de65cad4bfb9f062408ac3
parent184bd70bbc81ff0aa561eb51914c952225e42aab
serial: imx: don't use idle condition detect for DMA transfers

The reference manual states that idle condition detect should not be used
with DMA transfers, as the ROM SDMA scripts don't check those conditions.

The RAM SDMA scripts worked around this, but the change broke compatibility
with the ROM scripts.

The previous commits fixed the DMA burst sizes, so that the aging timer is
now working as described in the reference manual. With this fixed we can
remove the hack of using the idle condition detect to stop the DMA transfer
if there are no new characters incoming.

This should work with both the ROM and RAM SDMA scripts.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c