Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial: 8250_dma: use linear buffer for transmit
8250_dma used the circular xmit->buf as DMA output buffer. This causes messages that wrap around in the circular buffer to be transmitted using 2 DMA transfers. Depending on baud rate and processor load this can cause an interchar gap in the middle of the message. On the receiving end the gap may cause a short receive timeout, possibly long enough to terminate a DMA transfer, but too short to restart a receive DMA transfer in time thus causing a receive buffer overrun. Fix this but creating a linear tx_buffer and copying all of xmit->buf into it. Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
- Loading branch information