[PATCH 07/15] tty: serial: 8250_dma: enqueue RX dma again on completion.

One Thousand Gnomes gnomes at lxorguk.ukuu.org.uk
Mon Aug 18 03:52:49 PDT 2014


>  		if (!up->dma || dma_err)
>  			status = serial8250_rx_chars(up, status);
> +
> +		if (dma_err && port->type == PORT_OMAP_16750)
> +			serial8250_rx_dma(up, 0);

Can we stick to a 'has dma' flag and port->rx_dma() type usages so that
we don't have to rewrite it again to add them the next slightly odd DMA
user we add 8)




More information about the linux-arm-kernel mailing list