[PATCH v3 2/2] serial: mxs-auart: wait for FIFO to flush before shutdown
Huang Shijie
b32955 at freescale.com
Wed Oct 9 03:55:08 EDT 2013
于 2013年10月03日 15:32, Hector Palacios 写道:
> This lead to many bytes not being transferred (specially at low
> baudrates), as they were still in the DMA buffer when the AUART was
> shutdown.
I meet a similar bug with the imx.c which is used for the I.MX.
I did not implement the uart_ops->flush_buffer() hook, so the DMA may fails.
So could we add a new flush_buffer hook for mxs-auart?
Please see the Documentation/serail/driver.
thanks
Huang Shijie
More information about the linux-arm-kernel
mailing list