tty: serial: 8250_omap: add custom DMA-RX callback
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 26 Sep 2014 13:23:12 +0000 (15:23 +0200)
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 29 Sep 2014 17:54:45 +0000 (19:54 +0200)
The omap needs a DMA request pending right away. If it is
enqueued once the bytes are in the FIFO then nothing will happen
and the FIFO will be later purged via RX-timeout interrupt.
This patch enqueues RX-DMA request on completion but not if it
was aborted on error. The first enqueue will happen in the driver
in startup.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

No differences found