serial: imx: re-enable DMA support without hardware flow control
authorLucas Stach <l.stach@pengutronix.de>
Fri, 4 Sep 2015 15:52:42 +0000 (17:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 17:43:30 +0000 (18:43 +0100)
commit7e11577ef6f31faf4a505e7823bf78b679906aca
treefb3362b79850802bf7efccf7bb48378d6969c93c
parent905c0decad28402aa166975023fb88c8f62f93c8
serial: imx: re-enable DMA support without hardware flow control

The commit enabling DMA support even if no flow control is present
was reverted on the grounds that it uncovered a number of bugs in
the code that lead to hanging tty devices and/or missing characters.

After tracking down the issues it is clear that those were generic
bugs and had nothing to do with flow control being present or not,
only that allowing DMA without hardware flow control increased
the exposure of that code a lot.

Now that those bugs are fixed, it should be safe to re-enable DMA
support.

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