]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00321246 tty: serial: imx: fix wakeup fail after suspend for more than 30s
authorFugang Duan <b38611@freescale.com>
Thu, 3 Jul 2014 06:03:27 +0000 (14:03 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:09 +0000 (21:17 -0600)
commita901e38d4fa650c50a1a0e2400176e3e101e9ad2
treeb734f2c28c6024be4f2d34843625775417fdf2a0
parent52bcbc7d5274e0df2213cfc238413900663803d2
ENGR00321246 tty: serial: imx: fix wakeup fail after suspend for more than 30s

Before DMA finish, we have to disable flow control, otherwise
there have one corner issue like:
Flow control enable, RTS always is high while there have no uart
terminal connect to imx uart, and then user transmit data by the
uart, after some time, TX FIFO is _FULL_, SDMA still don't complete
the current transcation, so hold on. There no SDMA interrupt generate,
the "dma_wait" event cannot be waked up.

(cherry picked from commit a614a7d01705e1db69956913c810b62bc7f0c83e)

Signed-off-by: Fugang Duan <B38611@freescale.com>
drivers/tty/serial/imx.c