serial: imx: start rx_dma once RXFIFO is not empty
authorRobin Gong <b38343@freescale.com>
Tue, 9 Dec 2014 09:11:33 +0000 (18:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 22:23:59 +0000 (14:23 -0800)
commitee5e7c1091a703c6a465d8145e9b55e09adb6f37
tree2ead6ca7b06150c1f04e7944729f591df6b654da
parent068500e08dc87ea9a453cc4a500cf3ab28d0f936
serial: imx: start rx_dma once RXFIFO is not empty

Start rx_dma once RXFIFO is not empty that can avoid dma request lost
and causes data delay issue.

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