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)
commit5412dd333f4fcb620f0843b174c9ae32459c77c7
tree539d297a21a7fc2be6dc4f82bcc7eb8cd1947769
parent56a3ab80003b885da9329f4d69a7bb9678ff4667
tty: serial: 8250_omap: add custom DMA-RX callback

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>
drivers/tty/serial/8250/8250_omap.c