serial: sirf: let uart's receive start in right place
authorQipan Li <Qipan.Li@csr.com>
Tue, 14 Jul 2015 00:52:23 +0000 (00:52 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 22:32:04 +0000 (15:32 -0700)
commit466e285b1f63e84a6ced5cd18c3c3d90bda73404
tree30e87148646da7df909f0609326c6a72b3b626c8
parent1d26c9ff420f647df4a7a3e9a28736b9cff6359a
serial: sirf: let uart's receive start in right place

While UART work in DMA mode, function start_rx will request descriptor
from DMA engine, if there is no left descriptor UART, driver will give
err logs "DMA slave single fail".

currently start_rx is called in set_termios function, so everytime, port
setting will call start_rx once.

Now put start_rx in startup, it will be called once while open the port.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sirfsoc_uart.c
drivers/tty/serial/sirfsoc_uart.h
This page took 0.024884 seconds and 5 git commands to generate.