serial: imx: terminate the RX DMA when the UART is suspending
authorHuang Shijie <shijie8@gmail.com>
Fri, 19 Sep 2014 07:33:12 +0000 (15:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 01:26:38 +0000 (21:26 -0400)
commit45564a6656b4944fa90aabd59f8ec082e8f7a969
treeed78f64eb2e407b88adbb828a75d2280c15a0169
parentbb2f861ad00fc09dab955d22280c51cead795bca
serial: imx: terminate the RX DMA when the UART is suspending

When the uart port is suspending, the RX data is useless.
So in this case, we can terminate the RX DMA right now.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c