serial: 8250: Disable UART_IER_RLSI and UART_IER_RDI for dma receive
authorHuibin Hong <huibin.hong@rock-chips.com>
Mon, 24 Oct 2016 11:34:59 +0000 (19:34 +0800)
committerHuibin Hong <huibin.hong@rock-chips.com>
Tue, 25 Oct 2016 01:14:01 +0000 (09:14 +0800)
commit5cc2ffa56f2b0a3e08ceac8f529fd3941c28d125
tree02d0bc0cc93709999192be9c78e899f0b735e0a2
parent12660c60ba4f9b6f89882c2242defeeede6ad714
serial: 8250: Disable UART_IER_RLSI and UART_IER_RDI for dma receive

For rockchip serial, received data available and character timeout
interrupts are both enabled by IER[0]. Then when there is data in
the FIFO, received data available interrupt will occurd frequently.
So we must disable it, but which may disable the character timeout
interrput. Then it is useful to add a timer to report the data received
in dma buffer every 10 microsecond.

Change-Id: I1cf9dee495453d3530ab66c95a4e4cfef46b7795
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
drivers/tty/serial/8250/8250_port.c