[PATCH 1/5] serial: imx: remove unneeded imx_transmit_buffer() from imx_start_tx()

Huang Shijie b32955 at freescale.com
Sun May 11 20:40:37 PDT 2014


于 2014年05月09日 23:19, dean_jenkins at mentor.com 写道:
> Use imx_start_tx() just to enable the TX interrupt. It's the job of the
> TX interrupt ISR to fill the transmit buffer, then. If the transmit buffer
> is empty, the TX interrupt should be executed as soon as the start_tx()
> enables the interrupt, so there is no reason for the extra
> imx_transmit_buffer() call, here. Remove it.
I don't know why this patch needed?
What problem this patch fix or improve?

thanks
Huang Shijie



More information about the linux-arm-kernel mailing list