Re: [PATCH 3/4] serial: 8250-mtk: add uart DMA support

From: Arnd Bergmann
Date: Thu Feb 16 2017 - 08:24:56 EST


On Thursday, February 16, 2017 7:07:30 PM CET Long Cheng wrote:
> Modify uart register to support DMA function.
>
> Signed-off-by: Long Cheng <long.cheng@xxxxxxxxxxxx>
> ---
> drivers/tty/serial/8250/8250_mtk.c | 194 +++++++++++++++++++++++++++++++++++-
> 1 file changed, 193 insertions(+), 1 deletion(-)
>

This code looks a lot like the one in 8250_omap.c and 8250_dma.c.
Could it be made more generic so we can share more of the implementation?

Arnd