[PATCH 2/3] serial: mxs: enable the DMA only when the rts/cts is enabled

Huang Shijie b32955 at freescale.com
Mon Jul 15 04:41:25 EDT 2013


于 2013年07月15日 16:27, Uwe Kleine-König 写道:
> do you want to say that the driver fails to only enable DMA when RTS/CTS
> are available; or that today the driver can handle DMA just fine even
> without RTS/CTS? I interpret your commit log as the latter, your patch
> implements the former however.
in the mxs-auart, if the RTS/CTS is not invalid, the DMA should be not 
enabled.

But current code lost the limit, a uart without the RTS/CTS may also 
enables the DMA in which case the uart
may does not run or run in a abnormal way.

thanks
Huang Shijie







More information about the linux-arm-kernel mailing list