serial: imx: set up aging timer interrupt as DMA trigger
authorLucas Stach <l.stach@pengutronix.de>
Fri, 4 Sep 2015 15:52:38 +0000 (17:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 17:41:09 +0000 (18:41 +0100)
commit86a04ba64295e419f442866282051777ce962b8a
treec68d7afad041996ce941a57bc104b3b7e1a7e942
parentcc32382d9fd22dc8eebba4a245f50417267bda8e
serial: imx: set up aging timer interrupt as DMA trigger

The DMA transfer is only started once we are sure it will finish
in a limited time, i.e. only after we received a RRDY interrupt.

In order to allow the watermark level to be raised the aging
timer and the corresponding interrupt need to be set up as an
additional trigger, so that the transfer is also started if the
incoming amount of bytes never reach the watermark.

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