serial: mxs-auart: wait for DMA buffer to flush before shutdown
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 2 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Marek Vasut |
|---|---|
| Series | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] serial: mxs-auart: wait for DMA buffer to flush before shutdown
Dear Hector Palacios,
Quoted 12 lines
This fixes a bug whereby the AUART was shutdown while bytes were still waiting in the DMA buffer to be transmistted.
Changes since v1:
* Split the patch in two: one to set the fifosize to the DMA buffer size, and another to wait for the FIFO to empty before disabling the AUART.
* The wait for the fifo to empty is now independent of DMA being enabled.
* Fix bug onreadl()call
* Remove bad URL in commit log
Quoted 6 lines
Hector Palacios (2):
serial: mxs-auart: set the FIFO size to DMA buffer size
serial: mxs-auart: wait for FIFO to flush before shutdowndrivers/tty/serial/mxs-auart.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-)
Looks OK
Best regards,
Marek Vasut